Errors and known issues
Status codes, error responses and known differences from the Swagger spec.
Status codes
| Code | Meaning |
|---|---|
200 OK | Success. The body holds the result. |
204 No Content | Success with no body. Most updates and deletes return this. |
401 Unauthorized | The API key is missing or invalid. Body: {"reason": "Invalid API Key"} |
500 Internal Server Error | The request failed on the server. The body may be empty. |
401 and 500 responses often have an empty or unlabeled body. Check the status code first.
Known differences between the API and the Swagger spec
- Schedules, list schedules: the response includes
schedule_id, which is missing from the Swagger schema. - Inbound and Outbound Integrations: list items use a generic
idkey, not a resource-specific key likegroup_idorescalation_policy_id. - Postmortem Fields: use a generic
field_idkey. - Sort parameter names: most endpoints use
sortCol; Groups, Users and Workflows usesortBy. - Workflows default sort: the default
sortByvalue isWorkflow, notWorkflowName. - Pagination: V2
offsetis a page number, not a record offset. - Error bodies: 401 and 500 responses are often blank or lack descriptive labels.