| Summary: | Google calendar refuses invite sent to different mail address | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] Akonadi | Reporter: | Maarten ter Huurne <maarten> |
| Component: | Google Resource | Assignee: | Daniel Vrátil <dvratil> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | dvratil, pim-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.17.0 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
SUMMARY I received an invite as an ICS file on my main mail address, which is not a GMail address. I wanted to add it to my Google Calendar (different account, but both configured in Kontact), so I could access it from my Android phone. KOrganizer reported "1 incidence was imported successfully" in a blue bar at the bottom of the screen. However, the event wasn't added to the calendar. STEPS TO REPRODUCE 1. Create an ICS file with a non-Google e-mail address as the attendee. 2. Try to add that event to a Google calendar. OBSERVED RESULT In the logging of Akonadi, I found this: org.kde.kgapi: Bad request, Google replied ' "{\"error\":{\"errors\":[{\"domain\":\"calendar\",\"reason\":\"participantIsNeitherOrganizerNorAttendee\",\"message\":\"The owner of the calendar must either be the organizer or an attendee of an event that is imported.\"}],\"code\":400,\"message\":\"The owner of the calendar must either be the organizer or an attendee of an event that is imported.\"}}" ' org.kde.pim.google: Got error: KGAPI2::EventCreateJob(0x564b09f142f0) "Bad request." EXPECTED RESULT Ideally, KOrganizer would rewrite the attendee field to match the e-mail address that is tied to the calendar, when the attendee is a different mail identity of the user. In any case, KOrganizer should not report a successful import when Google's server rejected the API call. SOFTWARE/OS VERSIONS Linux distro: openSUSE Tumbleweed KDE Plasma Version: 5.21.4 KDE Frameworks Version: 21.04.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION