Errors and troubleshooting

View as Markdown

The StrideHQ API uses standard HTTP status codes, together with its own error types and codes.

In general:

  • A 2xx status means the request worked.
  • A 4xx status means something in the request needs fixing.
  • A 5xx status means something went wrong at our end.

Every error has the same shape:

{
  "error": {
    "type": "invalid_request",
    "code": "invoice_already_approved",
    "message": "This invoice has been approved, so it can't be changed.",
    "param": "total_amount",
    "request_id": "req_3Fk9Zp"
  }
}
StatusTypeMeaning
400invalid_requestSomething in the request is missing or wrong
401authenticationThe key is missing, revoked or sent to the wrong environment
403permissionThe key doesn't have the scope for this action
404not_foundNothing with that ID exists in your organisation
409conflictThe action clashes with the current state, for example a duplicate invoice
422validationThe request is well formed but can't be done, for example nothing is due to pay
429rate_limitedToo many requests. Wait and retry
500api_errorSomething went wrong at our end

Include the request_id if you contact support.

Updated 2 November 2026
Was this page helpful?