Error code 179


#1

I get an error 179 :
Sorry, you are not authorized to see this status.

But this error seems not to be documented on the error’s page https://dev.twitter.com/docs/error-codes-responses

Is that normal ?
Did I have to handle this error ?

Thank you


#2

I’ve added the error to that document, thanks for pointing it out. It typically occurs when the user is not following the author of the tweet, and that author also protects their tweets.

When you encounter a more specific error code you do not anticipate, it’s best to just base logic around the overall HTTP error code; HTTP 403 indicates that the authenticating context is understood, but either the user or the application are not permitted to complete the request.