Error -1237 when unassigning a resource using the COM API
Symptoms
The following error is reported in API logs :
11:15:54 AM Level5: Warning: Please check COM API logs for more details.
11:15:55 AM Level2: Error: Number= -1237 Message= The resource cannot be unassigned. Unable to unassign resource: {Guid}
Reason
The resource is already unassigned.
Resolution
You can adapt your code to prevent unassignment for these resources or ignore such errors as the resource is already unassigned.