Skip to content

Errors

Error format

Errors are returned from the API in the following format:

{
"success": false,
"error": string, // A message explaining the error
"code": number, // An error code (see below for a list of codes)
}

If you want to act based on a specific error, you should rely on the code rather than the message. The message is not considered stable and may change at any time.

Error codes

Error Codes and Descriptions

CodeDescription
0An internal error occurred
1Route not found
2Admin only
1002Invalid json was sent
1005There was nothing to update
2000Invalid authorization header
2001Invalid API token
4000Project not found
4001A project with that name already exists
5000Release channel not found
5001No release channels specified
6000Build not found
6001Invalid build ID