Search code examples
androidauthenticationtwitterpostman

Twitter API Postman: Code 32: Could not authenticate you


I want to test the Twitter API for an app in the future. I was trying to test it with Postman but I get this error all the time.

"code": 32,
"message": "Could not authenticate you."

I made an new app from my developers account and put all the generated tokens into Postman like this:

Postman_Screenshot2

My parameters are the same like this screenshot: (with the correct tokens)

Postman_Screenshot1

Do I need to check something important? I hope someone has already faced this problem or just can help me with this.


Solution

  • Under the "Authorization" tab in Postman, choose "Request Headers" from the "Add authorization data to:" drop down.

    Useful reference: https://developer.twitter.com/en/docs/basics/authentication/guides/authorizing-a-request.html