No Sync back from Google Calendar

SupportNo Sync back from Google Calendar
rainer Staff asked 9 months ago
Hi!

I configured the connect plugin successfully and linked my Google Calendar to it. The appointments entered in Easy Appointments are synced to the Google Calendar, but the other way it doesn't work. So if I create an appointment in Google Calendar, there is no new appointment entered in easy appointments (is this even possible?) and also the slot is not blocked (just this would also ok for me). What else can I try?  
  1. Yes, the connection / account linking is ok
  2. Yes, the cron job is executed reliably
  3. Yes, I configured the Advanced Calendars sync to just map one calendar to one location/service/worker combination
  4. No, I sadly can't provide logs, as when I click "Download sync log file" it doesn't work ("Check your internet connection" even though I def. have internet connection)
13 Answers
Nikola Loncar Staff answered 9 months ago

Hi Rainer, can you please paste here how advance sync option mapping looks like?

Best regards,
Nikola

rainer Staff replied 9 months ago

Any ideas?

rainer Staff answered 9 months ago
Sure:
Fermonte Staff answered 9 months ago
I got the same problem...
Nikola Loncar Staff replied 9 months ago

Please update to the latest version version of extension plugin.

Best regards,
Nikola

Nikola Loncar Staff answered 9 months ago
Hi rainer, settings looks good. Do you have any warning message at top of that settings page? Best regards, Nikola
Nikola Loncar Staff answered 9 months ago
Please update to the latest version of Extension plugin. Best regards, Nikola
rainer Staff answered 9 months ago
Hi Nikola, thanks for looking into it, but version 1.2.0 didn't seem to fix the issue on my end.
I don't have any warning message at the top of that settings page, I re-authorized the token and also manually executed the cron task after adding an appointment to my synced Google Calendar. I still don't see that timeslot blocked in EA.
Fermonte Staff answered 9 months ago
Hi, I can confirm that. The update didn´t change anything. I also have no warning messages at the top of the settings page.
Nikola Loncar Staff answered 9 months ago
Hi, can you please check error log file on your hosting to check if there are any errors related to EasyAppointments? Best regards, Nikola
rainer Staff replied 9 months ago

please see below 🙂

rainer Staff answered 9 months ago
This is the last cron log from /wp-content/plugins/easy-appointments-connect/src/logs/google-sync.log.php:
[2024-03-12 7:52:07.803973] [info] Sync started
[2024-03-12 7:52:07.804056] [debug] Calendars for sync
    24@group.calendar.google.com: array(
        'location' => '1',
        'service' => '4',
        'worker' => '1',
    )
    6a@group.calendar.google.com: array(
        'location' => '1',
        'service' => '3',
        'worker' => '1',
    )
    71@group.calendar.google.com: array(
        'location' => '1',
        'service' => '2',
        'worker' => '1',
    )
    39@group.calendar.google.com: array(
        'location' => '1',
        'service' => '1',
        'worker' => '1',
    )
    80@group.calendar.google.com: array(
        'location' => '1',
        'service' => '5',
        'worker' => '1',
    )
[2024-03-12 7:52:07.804186] [info] Syncing events for Calendar: 24@group.calendar.google.com
[2024-03-12 7:52:07.804234] [info] Sync event within next 0
[2024-03-12 7:52:07.982621] [info] Fetched from Google Calendar 0 events
[2024-03-12 7:52:07.984985] [info] Synced events : 0
[2024-03-12 7:52:07.985033] [info] Syncing events for Calendar: 6a@group.calendar.google.com
[2024-03-12 7:52:07.985089] [info] Sync event within next 0
[2024-03-12 7:52:08.147854] [info] Fetched from Google Calendar 12 events
[2024-03-12 7:52:08.160938] [info] Synced events : 12
[2024-03-12 7:52:08.161003] [info] Syncing events for Calendar: 71@group.calendar.google.com
[2024-03-12 7:52:08.161060] [info] Sync event within next 0
[2024-03-12 7:52:08.379863] [info] Fetched from Google Calendar 4 events
[2024-03-12 7:52:08.383785] [info] Synced events : 4
[2024-03-12 7:52:08.383829] [info] Syncing events for Calendar: 39@group.calendar.google.com
[2024-03-12 7:52:08.383883] [info] Sync event within next 0
[2024-03-12 7:52:08.558787] [info] Fetched from Google Calendar 2 events
[2024-03-12 7:52:08.561243] [info] Synced events : 2
[2024-03-12 7:52:08.561285] [info] Syncing events for Calendar: 80@group.calendar.google.com
[2024-03-12 7:52:08.561326] [info] Sync event within next 0
[2024-03-12 7:52:08.749929] [info] Fetched from Google Calendar 1 events
[2024-03-12 7:52:08.751492] [info] Synced events : 1
[2024-03-12 7:52:08.751535] [info] Total sync events : 19
[2024-03-12 7:52:08.752281] [info] There are no new appointments needed to be send to Google Calendar
[2024-03-12 7:52:08.752315] [info] Sync Done
Looks fine as there are no errors popping up. Still, the appointments either aren't synced back to EA or not blocking the timeslot. If you need further information or want to do a call for live debugging, let me know.
rainer Staff replied 9 months ago

(I shortened/redacted the calender IDs)

rainer Staff answered 9 months ago
Any news on this issue?
Nikola Loncar Staff answered 9 months ago

Hi Raner, thanks for the logs. By looking at those it should sync events. There are not issues with Cron job. It synced :

[2024-03-12 7:52:08.751535] [info] Total sync events : 19

is there anything specific for those other events that are not synced back?

Best regards,
Nikola

rainer Staff answered 9 months ago
Hi Nikola, I just tried it again and now it worked. I didn't change anything, nor did anything different.
Thanks for the support!
Nikola Loncar Staff replied 9 months ago

ok thanks for the update 🙂

lukasz_szumanski Staff answered 9 months ago
the problem of sending messages to gmail is still not solved because they are not arriving.
Nikola Loncar Staff replied 9 months ago

You are receiving messages to other mail server but not to GMail?

lukasz_szumanski Staff replied 9 months ago

Yes i receive messages on my work email on serwer kei.pl but i dont get it on GMAIL.
The problem has been occurring for a month