OAuth Playground resulting in 'Error 400: redirect_uri_mismatch'

1,844 views
Skip to first unread message

Katherine Martin

unread,
May 12, 2022, 6:07:52 AM5/12/22
to Google Ads API and AdWords API Forum
Hi All,

I have been using OAuth Playground to generate my refresh token. I have input my OAuth Client ID and OAuth Client secret in the OAuth 2.0 configuration and then clicked 'authorize apis'. This has resulted in: 'Error 400: redirect_uri_mismatch'. Please can I get some help as to why this has happened.

Best,
Katherine

Google Ads API Forum Advisor

unread,
May 12, 2022, 8:57:59 AM5/12/22
to kath...@aip.media, adwor...@googlegroups.com

Hi Katherine,

Thanks for reaching out to the Google Ads API Forum.

Since you mentioned that you’re using OAuth Playground to generate my refresh token, could you confirm if you’ve followed this guide to add a line with: https://developers.google.com/oauthplayground under Authorized redirect URIs while setting up OAuth 2.0 web client app?

If not added said above URL, then you may refer above provided guide for Playground, and let us know if issue perists.

regards.

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2asBU9:ref
Reply all
Reply to author
Forward
0 new messages