Are you struggling with Google error 400 redirect_uri_mismatch? Don’t fret here in this guide we are going to guide you on how to fix the above mention issue. So without any further delay let’s get started.
As per the Reports, users get prompted with the above mention error while trying to setting up their Google Calendars Sync Connection. And this error is promoted in the final step of adding the client ID and Secret to SSA. After diving deep into the error we concluded that it happens when the URL to your site is not typed in accurately right in API Console to newly created Client ID and secret. But actually this is not the user’s mistake; Google is quite finicky as it may pop up the error just because of a trailing slash.
Solution for 400 Redirect_uri_mismatch
In order to get past the issue firstly you need to go to API Console by navigating https://console.developers.google.com
Step 1: Ensure that you are on the right project and check in the top left corner
Step 2: Navigate to Credentials tab and click on OAuth Client Id that you created
Step 3: Now we are going to be focused on Authorized redirect URIs section.
Adding URL from Error Message
You need to try adding the exact URL you see in this error message. Once done then select Save and try again.
If the above method didn’t works for you then jump to the next one.
Entering a Variety of URLs
As discussed previously that Google is quite picky with URLs. So we suggest you to enter a variety of different URLs section. Just feel free to add in every variation of the URL in the Authorized Redirect URIs section.
Enter the below mention URLs:
- Trailing slash vs no trailing slash:
- www vs no www:
Once you are done with adding the variety of URIs from the above, kindly save and try again.
That’s all about Google error 400 Redirect_uri_Mismatch. Hope you liked the blog and it was helpful for you. Thanks for Reading.