Twitter app authentication error


#1

Saw an answer in the forum for a similar question but I copy pasted my credentials and traced the same for extra spaces.I am still getting the error saying “tweepy.error.TweepError: [{‘code’: 32, ‘message’: ‘Could not authenticate you.’}]”.

Here are the screenshots.


#2

Hi @sharanphineas,

This is definitely due to the authentication issue. You can confirm the same by referring to twitter dev documentation https://dev.twitter.com/overview/api/response-codes.

Please recheck all the four keys again and make sure you have not used them interchangeably.


#3

I have checked all the 4 keys again,i even regenerated the access token set and updated them in the code.But i am still getting the error