-
Notifications
You must be signed in to change notification settings - Fork 63
HTTP Response Codes
Andrew Yates edited this page Jun 10, 2014
·
9 revisions
Code | Name | Notes |
---|---|---|
200 | OK | Request was a success. Only process data from the service when you receive this code |
400 | Bad Request | Occurs during exceptional circumstances such as the service is unable to find an ID. Check if the response Content-type or Accept was JSON. If so the JSON object is an exception hash with the message keyed under error |
404 | Not Found | Indicates a badly formatted request. Check your URL |
429 | Too Many Requests | You have been rate-limited; wait and retry. The headers X-RateLimit-Reset , X-RateLimit-Limit and X-RateLimit-Remaining will inform you of how long you have until your limit is reset and what that limit was. If you get this response and have not exceeded your limit then check if you have made too many requests per second. |
503 | Service Unavailable | The service is temporarily down; retry after a pause |