You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to troubleshoot some response codes I am seeing, along with come up with code to handle some of those codes better. When I am using the except tweepy.TweepError as e to catch TweepErrors, the only thing that comes in as an argument in e is ('Twitter error response: status code = 403',). This was captured via print(e.args)
I'd like to see some extra arguments sent in. Perhaps a response argument so we can look at that directly. In addition, it would be great if the http headers were being sent down in the exception as well. Twitter should be returning some headers to better detail the issue: https://dev.twitter.com/rest/public/rate-limiting
The text was updated successfully, but these errors were encountered:
Trying to troubleshoot some response codes I am seeing, along with come up with code to handle some of those codes better. When I am using the
except tweepy.TweepError as e
to catch TweepErrors, the only thing that comes in as an argument in e is ('Twitter error response: status code = 403',). This was captured viaprint(e.args)
I'd like to see some extra arguments sent in. Perhaps a response argument so we can look at that directly. In addition, it would be great if the http headers were being sent down in the exception as well. Twitter should be returning some headers to better detail the issue: https://dev.twitter.com/rest/public/rate-limiting
The text was updated successfully, but these errors were encountered: