Easy Appointments Connect not syncing

Support forumCategory: BugsEasy Appointments Connect not syncing
marcin_hordziej asked 2 years ago
The plugin was working fine, but one day it stopped syncing the Google Calendar. It stopped adding Google Calendar events, so reservations are not displaying on Wordpress side. Reservations added via Wordpress are visible in Google Calendar.
marcin_hordziej replied 2 years ago

Additionaly, logs says something like this:
[2022-02-21 21:22:46.062952] [info] Sync event within next 0
[2022-02-21 21:22:46.226258] [info] Fetched from Google Calendar 16 events
[2022-02-21 21:22:46.229767] [info] Synced events : 1
[2022-02-21 21:22:46.229814] [info] Total sync events : 3

Bo no events are visible in calendar.

8 Answers
Nikola Loncar Staff answered 2 years ago
Looks like mapping issues. Can you please open Extension settings and at the bottom of the page there is option called advance sync options. There you should add mappings with exact values for service/location/worker. Please avoid any value there. By looking at log there were 3 events but only one is added in EA. Best regards, Nikola
marcin_hordziej answered 2 years ago
We have separate calendar for each worker. So we have 5 calendars, each connected to single worker. We need it to work like this - and it worked. One day it stopped syncing. To changes was made both on website and in calendar. About the log - maybe the log says there is 1 synced event, but on reservations page we don't have any data from goggle calendar at all. The last item synced from calendar is from 29 November 2021. Then it just stopped.
Nikola Loncar Staff answered 2 years ago
Do you have any warning message at top of that settings page? Best regards, Nikola
marcin_hordziej replied 2 years ago

I don’t have any warning messages. I’ve re added all the google calendars and it still won’t work.
I see appointments added via plugin in Google Calendar, but appointments added in Google Calendar are not visible in the plugin.

marcin_hordziej answered 2 years ago
Google calendar is full of appointments but none are visible in plugin so the dates are available for clients. We are booking per worker, every worker have own calendar. It's very important to keep it like this. Latest log:
Start your code here
[2022-03-10 11:08:16.000479] [info] Sync started
[2022-03-10 11:08:16.000540] [debug] Calendars for sync
****@group.calendar.google.com: array(
'location' => '1',
'service' => '*',
'worker' => '1',
)
****@group.calendar.google.com: array(
'location' => '1',
'service' => '*',
'worker' => '2',
)
****@group.calendar.google.com: array(
'location' => '1',
'service' => '*',
'worker' => '4',
)
****@group.calendar.google.com: array(
'location' => '1',
'service' => '*',
'worker' => '3',
)
[2022-03-10 11:08:16.000579] [info] Syncing events for Calendar: ****@group.calendar.google.com
[2022-03-10 11:08:16.000602] [info] Sync event within next 0
[2022-03-10 11:08:16.153613] [info] Fetched from Google Calendar 13 events
[2022-03-10 11:08:16.155869] [info] Synced events : 0
[2022-03-10 11:08:16.155898] [info] Syncing events for Calendar: ****@group.calendar.google.com
[2022-03-10 11:08:16.155922] [info] Sync event within next 0
[2022-03-10 11:08:16.303787] [info] Fetched from Google Calendar 13 events
[2022-03-10 11:08:16.306510] [info] Synced events : 0
[2022-03-10 11:08:16.306571] [info] Syncing events for Calendar: ****@group.calendar.google.com
[2022-03-10 11:08:16.306618] [info] Sync event within next 0
[2022-03-10 11:08:16.466993] [info] Fetched from Google Calendar 24 events
[2022-03-10 11:08:16.471074] [info] Synced events : 0
[2022-03-10 11:08:16.471129] [info] Syncing events for Calendar: ****@group.calendar.google.com
[2022-03-10 11:08:16.471174] [info] Sync event within next 0
[2022-03-10 11:08:16.615792] [info] Fetched from Google Calendar 9 events
[2022-03-10 11:08:16.617294] [info] Synced events : 0
[2022-03-10 11:08:16.617328] [info] Total sync events : 0
[2022-03-10 11:08:16.618324] [info] There are no new appointments needed to be send to Google Calendar
[2022-03-10 11:08:16.618346] [info] Sync Done


Nikola Loncar Staff answered 2 years ago
You are missing Advance Sync Option Mapping inside Extension settings page. You can see that sync pulled 13 events but 0 was imported to EA because it don't know where to put it. Best regards, Nikola
marcin_hordziej answered 2 years ago
The mappings are ok. Every calendar is assigned to one location, one worker and any service. It was working fine, but one day just stopped.
marcin_hordziej answered 2 years ago
UP - I still cannot solve the issue.
Nikola Loncar Staff answered 2 years ago
Hi, can you please create a account for me to check wp admin part. Email address is nikolanbg[at]gmail[dot]com. Best regards, Nikola