Okay
  Public Ticket #2161446
Google Calendar Integration Issues
Closed

Comments

  •  3
    Matthew Johnson started the conversation

    So I set up my Google Calendar integration for the entire account under Settings.

    I then created myself as an employee and signed in to my G Suite account to connect my Google Calendar under my employee profile.

    Some time later, I realized I didn't set up the API under my G Suite email account, rather a different email.

    I set up my Amelia account Google Calendar with my G Suite email so that way everything was under one account. However, when I went back to my employee profile, my Google Calendar was no longer sync'd to it and when I try to add it again, it comes up with an error.

    I'm assuming this is because I already have one integration running and it's preventing me from creating multiple instances, but this isn't confirmed anywhere from what I can tell - is the system working as intended? Or is there a greater issue here?

    Is there an advantage of connecting your Google Calendar to the entire account versus Employee level? Especially if I'm a one man show, does it really even matter?

  • [deleted] replied

    Hello Matthew, 

    Could you please tell me what is the error that you have when you try connecting Amelia to your Google calendar? 

    Have you tried connecting someone else's Google Calendar to Amelia? That way you can see if the global settings for Google Calendar in Amelia Settings are causing the error, or the error is with your Calendar only. Maybe some setting you made when you were setting up the G Suite with Google Calendar mixed up the settings for Amelia Google Calendar and this is causing the issue. 

    There should not be any difference in connecting your Google Calendar to the entire account versus Employee level.


  •  3
    Matthew Johnson replied

    It just says:

    "Unable to connect to Google Calendar"


    But now, when I try to sign in with any of my accounts via the Google Sign In, none of them are connecting. When I first installed it, it worked fine, but since changing my global account Google Calendar settings, it's not working. I used two different Google Accounts though, so it shouldn't be affecting the other.

  •  3
    Matthew Johnson replied

    If I delete the user and create a new one and sign into Google to sync calendars on an employee level (again) then it works fine, so I think there might be something on the back-end that is messing up when you connect a calendar, disconnect, and attempt to connect a new one (on an employee level). I'm not 100% certain, but that's my assumption given when setting up a new user, there were no hiccups.

  • [deleted] replied

    Hello Matthew, 

    There shouldn't be any issue when deleting and adding the employee again. I checked this out now on our side and both of these ways work: connect/disconnect/connect again and creating/deleting/creating again (employee level). 

    If you are still having an issue - One of our users had an issue with connecting to Google Calendar, and it was linked to multiple tokens being assigned to employees in wp_amelia_providers_to_google_calendar table.

    3796789270.png

    If you see this in the database table, please delete those tokens, and try the sync again from Amelia Employee's window.

    If it fails again, please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here because this ticket is private and nobody can see it except us.

    Hope this helps!