Google Calendar does not sync

REPRODUCIBILITY (% or how often): 100%
BUILD ID: 3.3.0.16
HARDWARE (Jolla1, Tablet, XA2,…): Xperia 10 Plus
UI LANGUAGE: English
REGRESSION: (compared to previous public release: Yes, No, ?): ?

DESCRIPTION:

I’m not able to synchronize Google calendar with Jolla Calendar

PRECONDITIONS:

  1. existing google account
  2. existing events in the user calendar for today

STEPS TO REPRODUCE:

  1. Add google account with Settings > Accounts > Add account > Google
  2. Check Calendars, Contacts and Email for Two-way sync
  3. Pull the menu and select Sync
  4. Open stock Calendar app
  5. Pull menu and select Sync - no events for today
  6. Pull menu and select Manage calendars - no google calendars present

EXPECTED RESULT:

  1. events visible
  2. calendars listed in manage calendars menu

ACTUAL RESULT:

  1. events not visible
  2. calendard not listed

ADDITIONAL INFORMATION:

(Please ALWAYS attach relevant data such as logs, screenshots, etc…)

Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "Calendars" request with account 13 experienced error: QNetworkReply::NetworkError(ProtocolInvalidOperationError)
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  unable to parse calendar data from request with account 13 ; got:
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "{"
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "  \"error\": {"
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "    \"code\": 400,"
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "    \"message\": \"API key not valid. Please pass a valid API key.\","
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "    \"errors\": ["
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "      {"
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "        \"message\": \"API key not valid. Please pass a valid API key.\","
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "        \"domain\": \"global\","
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "        \"reason\": \"badRequest\""
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "      }"
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "    ],"
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "    \"status\": \"INVALID_ARGUMENT\""
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "  }"
Jul 19 01:41:14 Xperia10Plus-DualSIM google-calendars-client[14255]: [W] unknown:0 - ERROR:  "}"
5 Likes

same here. It does not work on my XA2. Currently switched to a CalDAV calendar which is less comfortable and won’t let my ad train schedules.

Hi @ktor

I raised the issue with Jolla last month and after sending a log following their instructions they responded on 3 July saying:

"Hi,

apologies for our error in the journal logging instructions. They were recently revisited for some upcoming changes in Sailfish OS. Unfortunately, a mistake was made.
This has nothing to do with encryption. The instructions have been fixed now.

Your log file was empty (well, with those instructions this is an expected outcome).

The calendar sync issue has been fixed. The fix will be delivered to users in the next OS update which is scheduled to early September.
Sorry for the inconvenience caused.
Sincerely,
Jolla Customer Care"

So it looks as if Jolla have a fix for the next OS release in early September.

2 Likes

May I ask what do you mean ? If your train schedules are provided as static iCal data somewhere on the net, you can add them as a web calendar. In account settings, when you add a new account, there is a new possibility to add “web calendar”. You provide a static iCal resource on the web as an URL, and it creates a new calendar for it, and keep it updated on device.

you are correct: I can download a .ics file from the browser which will import into calendar from the Zürich public transport site. Swiss railways does not seem to export .ics in Sailfish browser, but does on desktop.
So, this is not very smooth, but works.
(Probably I wanted to point at the now abandoned app Fahrplan which did quite a very good job.

What I also mean, is that, if the ICS data is actually changing from time to time (next year schedule), you can add it as a “web calendar” in the account page in the settings. Like that, the added calendar on device is kept in sync with the upstream one.

Aha! That is good to know! Thanks! I banged my head against wall (XA2 3.3.0.16) for quite a good time. In the end I gave up with Google calendar and gave chance for Fruux (found from accounts readily for Sailfish). That decision I have not regretted. Works like charm and now my Sailfish experience is 100% Google free (= why I have Sailfish from the beginning).

2 Likes

Regarding the OS update originally scheduled for “Early September” which is supposed to fix the calendar error.

Jolla Customer Services now say:

It seems that getting this update ready is likely to be delayed. The current estimate is the end of September.

2 Likes

thanks for the heads up!

1 Like

I don’t wish to sound petulant, but many important things seem to have broken with 3.3.0.16, like external device access for Android applications.

Thanks for the follow-up. I was considering factory resetting my device to see if I could get my Google Calendar to show up again. That was broken after removing the calendar db because of the other issues SailfishOS has/had with the sync (double entries, not syncing).