Resource Types Errors

This articles outlines error messages that might be issued when calling endpoints of the Resource Types API.

Create Resource Type

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_NAMEResourceType 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_REACHEDThe maximum number of <limit> resource types has been reached.Delete unused resource types or upgrade your premium subscription.

Update Resource Type

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_NAMEResourceType with name <name> already exists.Make sure that the name of the resource type is unique within the site you are creating it.
Did this help?