Error Codes & Responses
HTTP Status Codes
The ApiHub API returns appropriate HTTP status codes for every request, as follow:
Code | Name | Description |
200 | OK | Successful request. |
201 | Created | The request resulted in a new resource being created. |
400 | Bad Request | The request was invalid or cannot be served. |
401 | Unauthorized | Authentication credentials were missing or incorrect. |
403 | Forbidden | The request was a valid one , but the access is not allowe |
404 | Not Found | The resource does not exist. |
422 | Unprocessable Entity | The request was well-formed but was unable to be followed due to semantic errors. |
500 | Internal Server Error | Something is broken. Please open an issue on Github. |
502 | Bad Gateway | ApiHub is down. |
504 | Gateway timeout | ApiHub is up, but the request couldn’t be served by the backend. |
Updated less than a minute ago