"Error: Could not complete OAuth 2.0 token request"

Hello,

I’m trying to get a Oauth2 token.
When i click on “Get new access token” X opens and asks for my permission.
But when I come back to Postman I got this error. I can’t figure out why, despite a lot of research.

Here my settings :

Error :

I also set the bearer token from the portal but i think is not mandatory.

Thanks.

Hi @lunar-module-astro17.

Welcome to the Postman Community!

When you say “ask for my permission”, you’re able to see a Twitter login screen, log in, then see a consent screen where you consent this auth request? This happens after you’re redirected back to the redirect URL?

Also, can you share the full console logs. Feel free to redact anything confidential.

Hello,

thanks for your reply.

When you say “ask for my permission”, you’re able to see a Twitter login screen, log in, then see a consent screen where you consent this auth request? This happens after you’re redirected back to the redirect URL?

Yes, I just don’t need to log in because I’m already logged in.

Here the full details :


In the response body, there also a small text that say “This browser is no longer supported”, “Please switch to a supported browser to continue using twitter.com. You can see a list of supported browsers in our Help Center.”

Thanks for help.

That’s weird. What browser are you currently using? Looks like Twitter API is the culprit here.

Brave, but tried with Edge too and it doesn’t work.

Brave runs on Chromium, so ideally, it should work.

I’m not very familiar with the Twitter APIs, but you could be missing some details.

Ok is fixed.
Just forget the “api” part here : “https://api.twitter.com/2/oauth2/token” :sweat:

Hi @lunar-module-astro17. Good to see that you’ve fixed it.

Can you share what the issue was and how you fixed it? It could be helpful to others who experience the same and are looking for help.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.