Saturday, September 1, 2012

Important HTTP Response Codes



CodeMeaningMessage
200OKSuccess!
304Not ModifiedThere was no new data to return.
400Bad RequestThe request was invalid. An accompanying error message will explain why. This is the status code will be returned during rate limiting.
401UnauthorizedAuthentication credentials were missing or incorrect.
403ForbiddenThe request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits.
404Not FoundThe URI requested is invalid or the resource requested, such as a user, does not exists.
406Not AcceptableReturned by the Search API when an invalid format is specified in the request.
420Enhance Your CalmReturned by the Search and Trends API when you are being rate limited.
500Internal Server ErrorSomething is broken. Please post to the group so the Our Servers team can investigate.
502Bad GatewayOur Servers are down or being upgraded.
503Service UnavailableOur Servers are up, but overloaded with requests. Try again later.
504Gateway timeoutOur servers are up, but the request couldn't be serviced due to some failure within our stack. Try again later.


No comments:

Post a Comment