HTTP Response codes

Certify and Increase Opportunity.
Be
Govt. Certified Twitter Apps Developer

HTTP Response Codes and Errors

Upon executing a proxied Twitter API request, whether successful or not, the SuperTweet.net API returns the response status code and any error messages received from the Twitter API. This means that even if the SuperTweet.net proxy request succeeded, in the sense that the Twitter API was invoked, an error status code and corresponding error message may still be returned, as a result of an error on the Twitter side. A special header is provided in the response, set by the SuperTweet.net API proxy, as follows:

X-TwitterAPI-Status: status-code

If this header exists in the response, then the status code and error message represent those returned by the Twitter API. If this special header isnot present in the response, then the status code and error message are those of the SuperTweet.net API service itself (not from the Twitter API).

http status codes

The SuperTweet.net API returns the response status code received from the Twitter API, generally defined as.

  • 200 OK – Success
  • 304 Not Modified – There was no new data to return.
  • 400 Bad Request – The request was invalid. An accompanying error message will explain why.
  • 401 Unauthorized – SuperTweet.net credentials were missing, incorrect, or invalid. Check your Access Credentials.
  • 403 Forbidden – The request is understood, but it has been refused. An accompanying error message will explain why.
  • 405 Method Not Allowed – The method specified in the request is not allowed for the resource identified by the request URI.
  • 410 Gone – The URI requested is invalid or the resource requested does not exist.
  • 500 Internal Server Error – Something is broken. In these cases, if the X-TwitterAPI-Status header is not present, please post to the SuperTweet.net group so the SuperTweet.net team can investigate. If the X-TwitterAPI-Status header is present, then this error indicates a problem with the Twitter service and in that case, Twitter suggests that one should post to the Twitter API group so the Twitter team can investigate.
  • 502 Bad Gateway – Twitter is down or being upgraded.
  • 503 Service Unavailable – The Twitter servers are up, but overloaded with requests. Try again later.
Share this post
[social_warfare]
Twitter API parameters
cURL

Get industry recognized certification – Contact us

keyboard_arrow_up