Resource codes for Billing and Payments REST API
The 8-digit error code of Billing REST API consists of two components: a 6-digit REST API resource code, and a 2-digit error category code. This article and its child pages focus on the resource codes only. All available error category codes are summarized in Error Category Codes for the v1 API.
The resource code indicates the Billing REST API resource, typically a field of a Zuora object, on which the issue occurs. For example, 531003 refers to the termType
field of the subscription
object. The resource code that corresponds to an object without any field indicates that the issue is related to this object but not one specific field. One resource code might correspond to multiple API operations or resources.
Note that Zuora determines resource codes based on the request payload. Therefore, if GET and DELETE requests that do not contain payloads fail, you will get 500000
as the resource code, which indicates an unknown object and an unknown field. The error category code of these requests is valid and still follows the rules described in the Error Category Code section. In such case, you can refer to the returned error message to troubleshoot.
The following information is a full list of all effective resource codes of Zuora Billing REST API. You can also download this CSV file that includes all Billing resource codes for reference.