Skip to main content

HTTP status codes

Check the HTTP status before parsing the response. Successful calls use 2xx; endpoint references describe their success bodies. HTTP 204 has no response body.

JSON errors

Most API errors return an error string and a human-readable troubleshoot string. For example, an authentication failure returns HTTP 401:
Treat troubleshoot as optional. For example, exceeding the pagination boundary returns HTTP 400 with only error. Use HTTP status codes for programmatic handling rather than matching human-readable messages.

Rate-limit errors

HTTP 429 returns plain text rather than the JSON error object:
Read X-SiitApi-Reset as a Unix timestamp in seconds and wait until that time before retrying. See rate limiting for the quota and headers.

Retrying requests

Use increasing delays for transient failures on reads. After a timeout or server error on a write, check whether it succeeded before repeating it: retrying a create operation can create duplicates. The batch import endpoint supports idempotency through import_source and external_id. Do not assume the same behavior for other endpoints.

JSON error attributes

error
string
troubleshoot
string