Back to Troubleshooting Guides

This guide applies to:

  • Basic Edition
  • Plus Edition
  • Pro Edition
  • Business Edition

Introduction

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 or even using http instead of https 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

  1. Make sure you’re on the right project, check in the top-left corner
  2. Go to the Credentials tab and click on the Oauth Client Id you created
  3. We’re going to be focused on the Authorized redirect URIs section
Getting to 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

Highlighting the URL in the error message

Entering a Variety of URLs

As we mentioned above, Google is quite picky with the URL. In fact, a trailing slash or even using http instead of https can cause this error.

So, let’s enter a variety of different URLs into the Authorized Redirect URIs section.

Enter these following URLs –

  • https vs http:
    • https://yoursite.com
    • http://yoursite.com
  • trailing slash vs no trailing slash:
    • https://yoursite.com/
    • https://yoursite.com
  • www vs no www:
    • https://www.yoursite.com
    • https://yoursite.com

When you’re done adding the variety of URIs from above, please Save and try again.


Still stuck?

File a support ticket with our five-star support team to get more help.

File a ticket

  • Please provide any information that will be helpful in helping you get your issue fixed. What have you tried already? What results did you expect? What did you get instead?
  • This field is for validation purposes and should be left unchanged.


Related Guides