You are here:

Error Reporting

Each operation will return an HTTP response to indicate the result of the operation.

200 Success
400 The request is believed to be invalid in some way. The response body will contain an error message.
401 An OAuth authentication failure occurred. You should ask the user to reauthorise your application.
429 The rate limits have been exceeded.
500 A server error occurred. The response body will contain an error message.

Error details are sent in the format dictated by the URL.

JSON error response example

HTTP/1.1 400 Bad Request
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json
Server: Microsoft-IIS/7.0
Date: Fri, 25 Sep 2009 02:57:36 GMT
Content-Length: 222
{Warehouse stock for product 'Mini Widget' is currently 0. At this time, we do not permit inventory to go into negative balances.}