Happy Business Starts Here

Highlighted
Zuora Support

API errors "4xx" and "5xx"

Question

 

Do we have documentation detailing an expected format for "4xx" and "5xx" status codes and we see difference in capitalization of response variables when calling a CRUD vs a newer REST APIs with response code 4xx. Is this response structure correct, and is this difference intentional

 

Solution:

 

For "4xx" and "5xx", they are standard HTTP status codes . The responses and errors for "200" status code is documented in Responses and Errors page because the response body contains Zuora-defined schemas.

 

 Response structure and capitalization difference:
         Basically the error response structure for a SOAP call contains an array of Error Object and a successfield. The capitalization difference comes from the independent implementation of each product area. You have to query a specific engineering team to get the exact response schema.