Okay
  Public Ticket #2686888
Google Calendar Disconnection
Closed

Comments

  •  3
    Richard started the conversation

    Tonight we had 10 employee accounts somehow get disconnected from their Google Calendar linkages.

    This happened once before a few months ago where we had a handful of employees that became disconnected but it was right after we had changed URLs so we deleted all of the accounts, made new ones, and reconnected them to Google Calendar.

    The issue tonight we fortunately caught pretty quickly with only two appointments not making it over to the calendar.  I checked all of the employee accounts and found that 10 gave a "Could Not Connect to Google Calendar" error message.  When I try to reconnect them, it still does not connect.  When I clone the account and then connect the new account it works.  There are two employee accounts per location but we share the same google account and the same two calendars for all employees.  Oddly, the locations that were affected tonight had both employees disconnected at each one (5 locations, 10 employee accounts disconnected).

    I'm concerned that other accounts will get disconnected and we won't know about it which will allow our students to book appointments at times which are not available.

    I'm hopeful that you can help identify the issue.  Thank you!

    Rich

  • [deleted] replied

    Hi, Richard!

    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 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.

    Hope that will work.

    Best Regards.

  •  3
    Richard replied

    I figured this one out. 

    The Google Calendar only allows for 50 connections. We had exceeded 50 connections to the same username so it was dropping the oldest connection whenever we added a new one. I think it was also making the drop as the new connection was being used because it wasn’t instantly dropping that calendar. 

    I split all of our teammates to two Google Calendar accounts so there are now only about 30 per calendar and it hasn’t dropped them since. 

  • [deleted] replied

    Hi, Richard!

    I apologize for the delayed response, as you probably already know, we don't work on weekends.

    Thank you for your feedback, we will take this information into consideration.

    However, the token issue is still there: I'm afraid, once your employees reach a particular number of tokens created for them (we can't tell for sure how much), they'll most probably get disconnected. So, if it happens, please check the database table - wp_amelia_providers_to_google_calendar, and delete multiple tokens.

    If you have any other questions, please let us know.

    Best Regards.