In this document:
In this guide, we want to give you some tips on solving the 400 redirect_uri_mismatch error you may get when 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 precisely 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 will 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, you can 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 various URLs into the Authorized Redirect URIs section. Feel free to add every variation of your URL under the Authorized Redirect URIs section.
Enter the 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