Mavryx strives to maintain compatibility with response codes from HTTP, additional codes are available in the JSON response header.
Api Code | Api Message | HTTP CODE | HTTP Message | Description |
---|---|---|---|---|
103 | Early Hints | 103 | Early Hints | Standard error for tasks requiring background preprocessing |
1031 | Still preparing | 103 | Early Hints | Background task is still in progress. The results are not available yet. Please try again later. |
200 | OK | 200 | OK | Success message |
201 | Created | 201 | Created | |
2011 | Object created | 201 | Created | |
202 | Accepted | 202 | Accepted | |
2021 | Task created | 202 | Accepted | The background task has been created and should start in a few seconds. |
400 | Bad Request | 400 | Bad Request | |
4001 | Action not supported | 400 | Bad Request | The requested action is not supported. |
401 | Unauthorized | 401 | Unauthorized | |
4011 | Missing client credentials | 401 | Unauthorized | Missing client_id or incorrect credentials |
4012 | Invalid client credentials | 401 | Unauthorized | Incorrect credentials |
4013 | Missing user credentials | 401 | Unauthorized | Missing client_id or incorrect credentials |
4014 | Invalid user credentials | 401 | Unauthorized | Incorrect credentials |
4015 | Missing authorization header | 401 | Unauthorized | Missing token in authorization header. |
4016 | Invalid token | 401 | Unauthorized | The token is invalid, either used too early or expired, or not signed correctly. |
4017 | Invalid OTP code | 401 | Unauthorized | The provided OTP code is invalid. |
4018 | Missing code | 401 | Unauthorized | Missing code token in reques |
4019 | Invalid code | 401 | Unauthorized | The code token is invalid, either used too early or expired, or not signed correctly. |
403 | Forbidden | 403 | Forbidden | |
4031 | Untrusted source | 403 | Forbidden | |
4032 | Invalid scope | 403 | Forbidden | |
4033 | ACL access denied | 403 | Forbidden | |
404 | 404 | Not Found | ||
405 | 405 | Method Not Allowed | ||
408 | 408 | Request Timeout | ||
409 | 409 | Conflict | ||
410 | 410 | Gone | ||
411 | 411 | Length Required | ||
413 | 413 | Content Too Large | ||
416 | 416 | Range Not Satisfiable | ||
424 | 424 | Failed Dependency | ||
425 | 425 | Too Early | ||
429 | 429 | Too Many Requests | ||
500 | 500 | Internal Server Error | ||
501 | 501 | Not Implemented | ||
502 | 502 | Bad Gateway | ||
503 | 503 | Service Unavailable | ||
504 | 504 | Gateway Timeout | ||
507 | 507 | Insufficient Storage | ||