This articles outlines error messages that might be issued when calling endpoints of the Resource Types API.
The Create Resource Type might issue the following error messages:
HTTP status | Error code | Error message | Troubleshooting |
---|---|---|---|
ALREADY_EXISTS (400) | RESOURCE_TYPE_ALREADY_EXISTS_FOR_NAME | ResourceType with name <name> already exists. | Make sure that the name of the resource type is unique within the site you are creating it. |
RESOURCE_EXHAUSTED (429) | MAX_NUMBER_OF_RESOURCE_TYPES_REACHED | The maximum number of <limit> resource types has been reached. | Delete unused resource types or upgrade your premium subscription. |
The Update Resource Type endpoint might issue the following error messages:
HTTP status | Error code | Error message | Troubleshooting |
---|---|---|---|
ALREADY_EXISTS (400) | RESOURCE_TYPE_ALREADY_EXISTS_FOR_NAME | ResourceType with name <name> already exists. | Make sure that the name of the resource type is unique within the site you are creating it. |