Error response format
Use
errorId to tell errors apart.
HTTP status codes
Some endpoints return their own
errorId with 409 and 422.
Common errors
Input errors (validation_exception)
If a parameter or the request body doesn’t meet the requirements, the API returns 400 with validation_exception.
errorDetails lists each invalid field (property) and the requirements it didn’t meet (constraints).
Errors in nested fields appear in children.
Sending a parameter or field that isn’t defined also returns validation_exception.
Authentication errors (unauthorized)
The API returns 401 when the API key is wrong or the organization ID in the path differs from the key’s organization.
For the full list of causes, see Authentication errors.
Rate limit errors (too_many_requests)
If you exceed the requests allowed per minute, the API returns 429.
If you exceed the hourly limit of a sync endpoint, errorId is rate_limit_exceeded.
If you exceed the limit per IP address (1000 requests per minute), the API entry point returns 429.
This response is the plain text 429: Too many requests. We have a limit of 1000 requests every minute., not JSON.
For details, see Rate limits.
Handling errors
- Resending the same request won’t change the result for
400,404,409, or422. CheckerrorDetailsand your request, fix the request, and then send it again. - For
401, check your API key and organization ID. - For
429, wait a while before you resend. - For
408and500, wait a while before you resend. For create, update, and delete requests, first get the target data to check whether the change was already applied. - If the problem continues, contact support with the
requestIdandpathfrom the response.

