Examples of how response structure looks like when you get a valid response
{
"status": "ok",
"response": {
"...": "..."
}
}
Examples of how response structure looks like when something has gone wrong
{
"status": "error",
"message": "...",
"id": 1
}
Generic error messages
| Error code | Http code | Description |
|---|---|---|
| 0 | 400 | Unknown error |
| 1 | 503 | Service Unavailable |
| 2 | 400 | Missing authentication key |
| 3 | 403 | Authentication failed |
| 4 | 404 | The URL does not exist |
| 5 | 403 | Permission denied |
| 9 | 406 | Https only |
| 10 | 405 | Method does not exist |
| 24 | 403 | Session key timed out |