Skip to navigation

Custom Objects API error code

View as Markdown

This reference lists the error category codes and resource codes of the Custom Objects API.

If a Custom Objects API call fails, an 8-digit error code will return. An 8-digit error code consists of a 6-digit resource code and a 2-digit error category code. For example, in the error code 71012520, 710125 is the resource code and 20 is the error category code.

Custom Objects API error category code

The following table lists the error category codes of Custom Objects API.

Category codeError categoryDescriptionResolution
12Read permission or access deniedThe request to read the resource cannot be processed because a certain tenant or user permission is missing.Check your tenant and user permissions. For Custom Objects, enable the “View Custom Objects” user permission.
13Update permission or access deniedThe request to update the resource cannot be processed because a certain tenant or user permission is missing.Check your tenant and user permissions. For Custom Objects, enable the “Edit Custom Objects” user permission.
14Delete permission or access deniedThe request to delete the resource cannot be processed because a certain tenant or user permission is missing.Check your tenant and user permissions. For Custom Objects, enable the “Delete Custom Objects” user permission.
15Create permission or access deniedThe request to create the resource cannot be processed because a certain tenant or user permission is missing.Check your tenant and user permissions. For Custom Objects, enable the “Edit Custom Objects” user permission.
20Invalid format or valueThe request cannot be processed due to an invalid field format or value.Check the invalid field in the error message, and ensure that the format and value of all fields you passed in are valid.
21Unknown field in requestThe request cannot be processed because an unknown field exists in the request body.Check the unknown field name in the response message, and ensure that you do not include any unknown field in the request body.
22Missing required fieldThe request cannot be processed because a required field in the request body is missing.Check the missing field name in the response message, and ensure that you include all required fields in the request body.
23Invalid format or value for an integer fieldThe request cannot be processed due to an invalid field value provided for an integer field.Check the invalid field in the error message, and ensure that the format and value of all fields you passed in are valid.
24Invalid format or value for a number fieldThe request cannot be processed due to an invalid field value provided for a number field.Check the invalid field in the error message, and ensure that the format and value of all fields you passed in are valid.
25Invalid format or value for a boolean fieldThe request cannot be processed due to an invalid field value provided for a boolean field.Check the invalid field in the error message, and ensure that the format and value of all fields you passed in are valid.
26Invalid format or value for a string fieldThe request cannot be processed due to an invalid field format or value provided for a string field.Check the invalid field in the error message, and ensure that the format and value of all fields you passed in are valid.
30Rule restrictionThe request cannot be processed due to the violation of a Zuora business rule.Check the response message and ensure that the API request meets the specified business rules.
40Not foundThe specified resource cannot be found.Check the response message and ensure that the specified resource exists in your Zuora tenant.
60Internal errorThe server encounters an internal error.Contact Zuora Global Support with the returned Zuora-Request-Id value in the response header for assistance.
61Retry-able service errorThe service could not completely fulfill the request due to an internal error.Check the error response for the resources that failed and retry.

Custom Objects API resource code

The following table lists the resource codes of Custom Objects API.

Resource codeResource
710000definition
710001definition.namespace
710002definition.object
710003definition.type
710004definition.required
710005definition.filterable
710006definition.description
710007definition.label
710008definition.origin
710009definition.additionalProperties
710010definition.relationships
710011definition.relationships.fields
710012definition.relationships.cardinality
710013definition.properties
710014definition.properties.{field}
710015definition.properties.{field}.label
710016definition.properties.{field}.description
710017definition.properties.{field}.enum
710018definition.properties.{field}.maxLength
710019definition.properties.{field}.default
710020definition.properties.{field}.origin
710021definition.properties.{field}.type
710022definition.properties.{field}.minimum
710023definition.properties.{field}.maximum
710024definition.properties.{field}.multipleOf
710025migration.targetName
710026definition.properties.{field}.format
710028migration.actions
710029definition.relationships.recordConstraints
710030definition.relationships.recordConstraints.create
710125record
710126record.type
710127record.queryParams
710129record.ids
710130objectJob
710131objectJob.id
710132objectJob.filter
710133objectJob.filter.conditions
710134objectJob.status
710135objectJob.operation
710136objectJob.file
710137objectJob.file.headers