|

Auto-sync of events from Google Calendar is not working

If you have followed our guide on setting up two-way sync with Google calendar, LatePoint should automatically block time slots of the events that you create in Google Calendar. If you see your calendar events in “grey” instead of “green” it means something is preventing Google to push updates to your server. Some membership plugins might block admin-post.php access, make sure that while you are in incognito mode of a browser – reaching this URL:

YOUR_SITE.com/wp-admin/admin-post.php?action=latepoint_route_call&route_name=google_calendar__event_watch_updated&agent_id=YOUR_AGENT_ID&calendar_id=YOUR_CALENDAR_ID 

is not blocked and is not redirected on your site.

You also need to make sure that you don’t have it blocked by some security plugins or mods in your server like modSecurity. To check if the url is blocked you can open your access log file in your server and see what is the response code for that request right after you’ve added/updated a google event. It should show a 200 code to work correctly:

CleanShot 2022 08 10 At 00.44.11@2x 1024x101

You can find your calendar ID by inspecting the calendar toggle field using browser inspect tool:

CleanShot 2022 07 30 At 09.48.25@2x 1 1024x650

Your can find more information here:

CleanShot 2021 10 30 At 16.06.34@2x 1024x417
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

On this page