In this document:
In this guide, we want to give you some tips on how to solve the 400 redirect_uri_mismatch error you may get when you’re setting up your Google Calendars sync connection.
This is an error that comes up in the final step of adding the Client ID and Secret to SSA.
This happens when the URL to your site is not typed in exactly right in the API console to the newly created Client ID and Secret.
This is not your fault, Google is quite picky with the URL. In fact, a trailing slash can cause this error.
Resolving 400 Redirect_uri_mismatch
First, you’ll need to head over to the API console.
To get there, go to https://console.developers.google.com
- Make sure you’re on the right project, check in the top-left corner
- Go to the Credentials tab and click on the Oauth Client Id you created
- We’re going to be focused on the Authorized redirect URIs section
Adding the URL from the Error Message
Try adding the exact URL you see in this error message. When you’re done select Save and try again.
If that doesn’t help, please try the next solution of testing out a variety of URLs
Entering a Variety of URLs
As we mentioned above, Google is quite picky with the URL. In fact, a trailing slash can cause this error.
So, let’s enter a variety of different URLs into the Authorized Redirect URIs section. Feel free to add in every variation of your URL under the Authorized Redirect URIs section.
Enter these following URLs –
- trailing slash vs no trailing slash:
- www vs no www:
When you’re done adding the variety of URIs from above, please Save and try again.
File a support ticket with our five-star support team to get more help.
File a ticket
Google Calendar Not Syncing or Checking for Conflicts
“Google hasn’t verified this app” Error or Periodic Disconnecting
Google Client ID and Client Secret
Google Calendar FAQ