Developer documentation
Status codes
In this guide, we will talk about what happens when something goes wrong while you work with the API.
You can tell if your request was successful by checking the status code when receiving an API response. If a response comes back unsuccessful, you can use the error type and error message to figure out what has gone wrong and do some rudimentary debugging.
Status codes
Here is a list of the different categories of status codes returned by the eWarehousing API.
200 OK: Your request was successful.201 Created: Entity was created successfully204 No Content: Requested entity was canceled / deleted successfully.400 Bad Request: Unable to process your request, possibly due to invalid data401 Unauthorized: Authorization failed.403 Forbidden: No access to the requested resource.404 Not Found: Object not found.405 Method Not Allowed: Used HTTP method is not allowed for the resource / URL.429 Too Many Requests: Exceeded the amount of allowed API requests. Visit the rate limits page.5xx server errors: A 5xx status code indicates a server error.