Google sync error

127 views
Skip to first unread message

Vlax

unread,
Aug 13, 2022, 3:14:13 AM8/13/22
to Easy!Appointments - Support Group
Hello !

I've just installed Easy Appointments a few weeks ago. I follow the instructions to synchronize the agenda with my google Agenda and it went successful.

But yesterday, after someone make an appointment, I realize the appointment was not synchronized (I tested myself when I synchronized and it was ok) and when I click the Synchronized button I get this message : 

Client error: `POST https://oauth2.googleapis.com/token` resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Token has been expired or revoked." }

Do you how to resolve the issue ?

Thanks for your help !

Alex Tselegidis

unread,
Aug 25, 2022, 7:09:49 AM8/25/22
to Easy!Appointments - Support Group
Hello! 

It looks like there is a limitation set by Google for non-verified apps (like the one you created in Google Cloud Console), that forces the tokens to expire, if the Google Cloud Console project was not created under the same Gmail account or Google Workspace organization. 

If this is a solo installation, then make sure you create the Google Sync API keys from the same Google account as the one you sync with. 

If this is a company installation then you will need to create a Google Workspace and create the API keys from there, and then eventually only sync with Google Accounts of the workspace. 

I'm trying to find a workaround on this as I write this.

Reference: 




Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!

Vlax

unread,
Aug 29, 2022, 9:21:48 AM8/29/22
to Easy!Appointments - Support Group
I think I use the same Google account when I synchronize but to be sure I deactive the synchronization and et resynchronize with the same google Account. I also let only one test user (I don't know if it was a good idea).

We'll see in a few days if it's still working but if not can I just publish the app and let Google validate it ?

Thank you for your help Alex !

Alex Tselegidis

unread,
Sep 1, 2022, 6:36:52 AM9/1/22
to Easy!Appointments - Support Group
Hello! 

> We'll see in a few days if it's still working but if not can I just publish the app and let Google validate it ?

Yes you can do that, though it is not a quick process, so the best would be to configure it to work for your own users for now. 

Let us know if you have new findings. 


Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!



Reply all
Reply to author
Forward
0 new messages