Error Codes
Common HTTP error Codes & Description
Error responses which are coming from the name of the exception generated internally by the API server. You can define corresponding exceptions in your language or library, and raise them by doing a switch on the returned exception name.
Sr.No | Error Codes | Description |
---|---|---|
1 | 400 | Missing or bad request parameters or values |
2 | 403 | Session expired or invalidate. Must relogin |
3 | 404 | Request resource was not found |
4 | 405 | Request method (GET, POST etc.) is not allowed on the requested endpoint |
5 | 410 | The requested resource is gone permanently |
6 | 429 | Too many requests to the API (rate limiting) |
7 | 500 | Something unexpected went wrong |
8 | 502 | The backend OMS is down and the API is unable to communicate with it |
9 | 503 | Service unavailable; the API is down |
10 | 504 | Gateway timeout; the API is unreachable |