As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #2460983
google integrations
Closed

Comments

  • Sasha Elezovski started the conversation

    Error 400: redirect_uri_mismatch


    I'm getting this error when I try to link the calendar to the employee. I have already gone through the google integration, but when I created an employee and tried to link the calendar, this is the error I got. 

  • [deleted] replied

    Hello Sasha Elezovski,

    Thank you for your purchase. 

    You need to check this redirect URI in your database and your Google project. To see if they are the same.   Please be careful when you update this table.

    In your database, you have to find wp_options table:

    6172199762.png

    In your case it is possible for it to have different prefix but it will end like your_prefix_options. 

    Then you have to find the option name amelia_settings in this table.

    1791739968.png

    When you find that you have to edit that property and to find there the string redirectURI , so you will probably find something like this:

    2773446103.png

     It needs to have the escape characters " \ ", so don't remove those. Simply check if the URI is the same as in Amelia/Google Calendar Settings and if it isn't, please modify it here. Please note that if you use https you will need to update it also in redirectURI option.

    When you finish with this please check if the URI is the same in the field Authorized redirect URL's on "Create OAuth client ID" section in your Google credentials section.

    7826777834.png

    Sometimes this issue comes up, mostly when there is a security involved so there is a mismatch in http/https and sometimes users don't press Enter (after typing the domain in the required field  in 'Authorized redirect URIs') to add it before clicking on 'Save' in the Google Cloud Platform. So the field stays empty and causes the issue. This is why you need to go on in the database and change it manually. 

    Please let me know if this helped!