Skip to main content

Errors and Statuses

Use HTTP code + response body + job status to drive client behavior.

Common HTTP Codes

CodeMeaningClient Action
200Successful read/updateContinue
201Resource createdContinue
204Deleted successfully (no body)Continue
400Invalid payloadFix request data
401Missing/invalid credentialsReplace or reissue API token
403Access denied by plan/scopeContact Nextry support
404Resource not foundCheck history_item_id
422Validation errorFix request params/body
429Rate limit exceededRetry with backoff
500Internal processing errorRetry later, escalate if persistent

Job Status Lifecycle

pending -> complete
pending -> error

Example:

Retry Guidance

  • Retry 429 and 5xx with exponential backoff.
  • Do not retry 400 without payload changes.
  • On 401, check token format/scope and request token reissue from support if needed.
  • For error jobs, log history_item_id and server error details for support.

Example:

Operational Logging

For production troubleshooting, log:

  • Request timestamp (UTC)
  • Endpoint and method
  • history_item_id (if assigned)
  • HTTP code
  • Error message/body snippet