When the custom objects api launched, we were getting errors when updating a custom object definition with the “labels” attribute. When the labels stayed the same, we got an error. So we changed our payload to only send the labels when renaming an object.
Now, we are getting an error when trying to rename an object. Example:
PATCH https://api.hubapi.com/crm-object-schemas/v3/schemas/2-1256197) :
{
“status”: “error”,
“message”: “Association definition name cannot be changed after creation”,
“correlationId”: “a1c91f1d-75d4-4230-b67d-2df61d10ab40”,
“category”: “VALIDATION_ERROR”
}
We are now unable to rename a custom object definition. There appears to be a bug in the custom object definnitions api. Let us know if we should be trying something different in the payload.