New
Version 1 of the API has just opened up for your own scripts, with API keys per workspace. What is between [brackets] we have yet to fill in.
What an error looks like
Every error has an error field with a fixed code, which you can use in your own code. Often there is also a message for people. For an error in the fields you send, issues shows per field what is wrong.
HTTP/1.1 400 Bad Request
{
"error": "validation",
"target": "json",
"issues": [{ "path": ["name"], "message": "Enter a name." }]
}All error codes
| Status | error | What it means |
|---|---|---|
| 400 | validation | A field is wrong. issues says which field and why. |
| 400 | bad-request | The request cannot be read, such as JSON that is not valid. |
| 401 | unauthorized | You are not signed in, or your session has expired. |
| 403 | forbidden | You are signed in, but you are not allowed to do this. |
| 404 | not-found | What you are looking for does not exist, or you have no access to it. |
| 409 | conflict | It clashes with what is already there, such as an invitation that is still open. |
| 413 | content-too-large | What you are sending is too large. |
| 429 | too-many-requests | You are making too many requests. See the rate limits. |
| 500 | server | Something went wrong on our side. Please try again later. |
The request ID
Every response has an x-request-id header. Include it when you contact us about an error, and we will find your request straight away.
