Google calendar sync fails
After update to 3.3.0.16 (Rokua), Google calendar sync does not work, no calendar entries are received. It did work previously, though I had disabled it for the time being due to the duplication of events bug. Syncing mails works fine.
This is a corporate Google account with 2FA.
My device is Xperia XA2 Plus.
I looked at journalctl and there's entries such as this:
May 04 18:38:37 Sailfish dbus-daemon[4064]: dbus-daemon[4064]: [session uid=100000 pid=4064] Activating service name='com.google.code.AccountsSSO.SingleSignOn' requested by ':1.157' (uid=100000 pid=13460 comm="/usr/lib/buteo-plugins-qt5//oopp/google-calendars-")
May 04 18:38:37 Sailfish dbus-daemon[4064]: dbus-daemon[4064]: [session uid=100000 pid=4064] Successfully activated service 'com.google.code.AccountsSSO.SingleSignOn'
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: "Calendars" request with account 1 experienced error: QNetworkReply::NetworkError(ContentOperationNotPermittedError)
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: error 403 occurred while upsyncing calendar data to Google account 1 ; got:
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: "{"
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: " \"error\": {"
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: " \"errors\": ["
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: " {"
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: " \"domain\": \"calendar\","
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: " \"reason\": \"disallowedFieldMutation\","
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: " \"message\": \"Insufficient permissions to modify a field on the resource.\""
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: " }"
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: " ],"
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: " \"code\": 403,"
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: " \"message\": \"Insufficient permissions to modify a field on the resource.\""
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: " }"
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: "}"
May 04 18:38:42 Sailfish google-calendars-client[13460]: [W] unknown:0 - ERROR: "Calendars" request with account 1 experienced error: QNetworkReply::NetworkError(ContentOperationNotPermittedError)
I can confirm, if I delete an event from the Google calendar, my XA2 using 3.3.0.16 will no longer sync. If I delete the Google account in Settings and re-add it, the calendar will sync again...until I delete an event.
vansid ( 2020-05-19 18:36:48 +0200 )editDo you have several Sailfish phones accessing your google account ?
wosrediinanatour ( 2020-06-08 23:52:34 +0200 )editNo, I have only one Sailfish phone accessing it. I mean, I do have several Sailfish phones but I haven't kept those other ones turned on in a long time.
ajalkane ( 2020-06-12 10:19:50 +0200 )editI can no longer add my Google account and get it to sync:
Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: "Calendars" request with account 13 experienced error: QNetworkReply::NetworkError(ProtocolInvalidOperationError) Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: unable to parse calendar data from request with account 13 ; got: Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: "{" Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: " \"error\": {" Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: " \"code\": 400," Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: " \"message\": \"API key not valid. Please pass a valid API key.\"," Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: " \"errors\": [" Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: " {" Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: " \"message\": \"API key not valid. Please pass a valid API key.\"," Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: " \"domain\": \"global\"," Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: " \"reason\": \"badRequest\"" Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: " }" Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: " ]," Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: " \"status\": \"INVALID_ARGUMENT\"" Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: " }" Jun 25 12:43:39 Sailfish-xa2 google-calendars-client[26637]: [W] unknown:0 - ERROR: "}
vansid ( 2020-06-25 19:46:58 +0200 )edit