Response formats
A common error response includessuccess, code, and error.
data and error.
HTTP status codes
Example error responses
400 Bad Request
401 Unauthorized
413 Payload Too Large
500 Internal Server Error
Handle failures
- If a token has expired, call
POST /authenticateto get a new one before retrying. - If a batch exceeds the endpoint limit, split the data into smaller requests. For example, some operations accept at most 1,000 records per request.
- Use exponential backoff on retryable errors such as
429and some500responses.
