Okay
  Public Ticket #2729610
"unable to connect with Google Calendar" after upgrade to Amelia
Closed

Comments

  •  4
    Roshan Sujeebun started the conversation

    Hi, 

    After we have recently upgraded to the latest version of Amelia "Version 3.1.2 (12.03.2021) ", we added 3 more employees on Amelia. 

    And since then, we are not able to connect them to the google calendar.

    We have 3 users whom we have been successfully configured and connected to their google calendar before the upgrade. Kindly assist us.

    We followed the documentation on " https://wpamelia.com/employees/ "  to connect 3 more users. 

    We are having the error message "Unable to connect to Google Calendar "  for all the subesquent users. We did the following steps:

    • After we clicked on "Sign in with Google" 
    • it prompted us to choose the google account and to login
    • then to allow our website to access google Google Calendar
    • then it returned back to screen "Amelia / Employees" 
    • then the screen "Edit Employee" appeared with error message "Unable to connect to Google Calendar "

    please guide us how to connect toGoogle Calendar

    Thank you

    Roshan 

  • [deleted] replied

    Hi, Roshan!

    Thank you for choosing Amelia.

    Seems like this issue is caused by multiple tokens that Google assigns to the same user. 

    We forwarded your inquiry to our developers. They are working on it and, hopefully, will fix the issue as soon as possible.

    Please go to wp_amelia_providers_to_google_calendar database table, where you will see multiple rows assigned to the same user ID. Delete all rows associated with the same user ID, and you will be able to connect the employee again. It's a temporary solution, but it's the only way to resolve it at the moment. 

    Please let me know if it helped.

    Best Regards. 

  •  4
    Roshan Sujeebun replied

    Hi Liza

    Thank you for your email. 

    I followed the instructions you mentioned. 

    I deleted all rows associated with the same user ID, and tried to connect the employee again. 

    But it was showing the same error message "Unable to connect to Google Calendar " 

    Please guide me further to resolve the issue.

    Thank you 

    Roshan

  • [deleted] replied

    Hi, Roshan!

    I apologize for the delayed response, we don't work on weekends.

    Please provide us with temporary WP Admin access and also PhpMyAdmin (or any other tool you use for database administrating) credentials.

    You can post the credentials as a reply to this ticket, just make sure you use private mode. 

    We don't interfere with any data except for the plugin and, of course, we don't provide login details to a third party.

    Best Regards. 

  •   Roshan Sujeebun replied privately
  •   [deleted] replied privately
  •   Roshan Sujeebun replied privately
  • [deleted] replied

    Hi, Roshan!

    Open the console left side menu and select IAM & Admin. From the project list, choose the project that you want to add a member to (I guess you have the only project there - Amelia). Click Add Member and provide an email address. 

    Looking forward to hearing from you. 

  •   Roshan Sujeebun replied privately
  • [deleted] replied

    Roshan,

    Yes, thank you.

    I'll get back to you at the earliest possible time.

    Best Regards. 

  • [deleted] replied

    Roshan,

    Somehow, the integration started working without any changes on the Developer Console:

    eFXjk-jdMqUr6qYmuI2jszz1lPP4XwVkbH0aZAyKiZ2Pwxvi6xuoIcumftROSgnz6yw02lRNRpvqZ-aMkjhYE30lXvg9X0L_bcl_fWFT6cJnRKODOK4R5Pv1dFKMw3HaL9EKzSB0

    It seems like the issue was caused by something on the Google end.

    Please try to connect your Calendar and let us know if the issue was resolved. 

    Best Regards. 

  •  4
    Roshan Sujeebun replied

    Hi Lisa,

    I could not test it earlier. 

    I tried as per your guidance and i am still facing the same problem.

    Grateful if you could assist us.

    Thank you & kind regards

    Roshan 

  •   [deleted] replied privately
  • Shannon replied

    Has this issue been looked into at all by the developers yet? It just happened to me today, and this ticket was sent in months ago. I have followed the temporary fix provided here, but I am concerned that this will happen again, and am wondering why it happened in the first place? Having Google Calendar syncing connected at all times is absolutely vital to my business, so I am very concerned about this. 

  • [deleted] replied

    Hi, Shannon!

    This issue is coming from Google's extremely strict security policy, that's why it's so hard to overcome.

    Our developers are still working on it, but we didn't receive any complaints regarding the G Cal disconnection recently. Could you please tell if you updated Amelia to version 3.3?

    Best Regards. 

  • Shannon replied

    Yes I am fully updated to version 3.3. This happened to me about 2 days ago now, to almost all of my employees.

    Will changing my Oauth consent screen from "Test Mode" to "In Production" make a difference at all? I just don't want this to happen again suddenly in the future.

  • [deleted] replied

    Hi, Shannon,

    I forwarded this information to our developers. It's the only thing I can do at the moment.

    Our developers are well aware of the issue but, as I mentioned before, Google is not easy, so they could not find a solution yet.

    Best Regards.