Bug 472306

Summary: KGAPI Errors while saving updates/changes to a contact
Product: [Frameworks and Libraries] libkgapi Reporter: jshand2013
Component: contactsAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED FIXED    
Severity: normal CC: kdepim-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: my hardware
kgapi errors with contacts

Description jshand2013 2023-07-16 20:59:40 UTC
My Current Setup:

Operating System: openSUSE Tumbleweed 20230714
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.2-1-default (64-bit)
Graphics Platform: X11
Processors: 2 × AMD A9-9420e RADEON R5, 5 COMPUTE CORES 2C+3G
Memory: 7.2 GiB of RAM
Graphics Processor: AMD Radeon R5 Graphics
Manufacturer: Acer
Product Name: Aspire A315-21G
System Version: V1.12

DESCRIPTION:

In kontact and selecting Contacts.  when you select any contact you wish to update changes to i get these KGAPI Errors:

akonadi_google_resource[2678]: org.kde.pim.google: Got error: KGAPI2::People::ContactGroupFetchJob(0x557395e4a3c0) "Invalid authentication."

akonadi_google_resource[2678]: org.kde.pim.google: Got error: KGAPI2::TaskListFetchJob(0x557396006d40) "Invalid authentication."

akonadi_google_resource[2678]: org.kde.pim.google: Got error: KGAPI2::CalendarFetchJob(0x557395b9af30) "Invalid authentication."

akonadi_google_resource[2678]: org.kde.pim.google: Got error: KGAPI2::People::PersonFetchJob(0x557395f37620) "Bad request."

akonadi_google_resource[2678]: org.kde.pim.google: Got error: KGAPI2::People::PersonPhotoUpdateJob(0x7f20800475f0) "Bad request."

STEPS TO REPRODUCE
1. Select a contact to update
2. make all changes necessary 
3. Click save or ok

OBSERVED RESULT

When you commit those changes to the contact, they seem to show up in the summary of that contact for about 2 or 3 seconds and then disappears.  when you go to check to see if those changes have taken effect, some of them are there but not showing in summary, and the rest have not been committed

EXPECTED RESULT

Go into the contacts module make the needed changes and save those changes and have those changes retained.
Comment 1 jshand2013 2023-07-16 21:03:40 UTC
Created attachment 160320 [details]
my hardware
Comment 2 jshand2013 2023-07-16 21:04:19 UTC
Created attachment 160321 [details]
kgapi errors with contacts
Comment 3 jshand2013 2023-09-02 23:50:24 UTC
this can now be close as it seems to be resolved in 23.08