Tickitto Docs

Errors

The Tickitto API uses conventional HTTP response codes to indicate the success or failure of an API request.

HTTP Status Codes

HTTP Status CodeDescription
200 - OK Everything worked as expected.
400 - Bad Request The request was unacceptable, often due to missing a required parameter.
401 - Unauthorized No valid API key provided.
402 - Request Failed The parameters were valid but the request failed.
403 - Forbidden The API key doesn't have permissions to perform the request.
404 - Not Found The requested resource doesn't exist.
409 - Conflict The request conflicts with another request.
429 - Too Many RequestsToo many requests hit the API too quickly. We recommend adjusting your requests.

Response

{
"errors": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}

Attributes

loc string

Location of where the error has occurred.


msg string

A human-readable message providing more details about the error.


type string

A machine identifier for the type of error returned.


Example

{
"errors": [
{
"loc": [
"body",
0
],
"msg": "Expecting value: line 1 column 1 (char 0)",
"type": "value_error.jsondecode",
"ctx": {
"msg": "Expecting value",
"doc": "-encodedCommand",
"pos": 0,
"lineno": 1,
"colno": 1
}
}
]
}