SUMMARY Same problem as Bug 414219, which is marked resolved: After Google account credentials are added to KAccounts, in Dolphin, using Places > Network > Google Drive returns "Invalid response content type." STEPS TO REPRODUCE 1. Use KAccounts (with Kio-gdrive installed) to access Google account. 2. Use Dolphin Places > Network > Google Drive to access account. OBSERVED RESULT Drive files fail to load. Instead, error message "Invalid response content type" displayed. EXPECTED RESULT GDrive folders accessible through Dolphin. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Manjaro Linux 20.1; Kernel version 5.8.16-2 MANJARO (available in About System) KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.1 ADDITIONAL INFORMATION
Works fine for me. Reassigning to kio-gdrive since they know what might be going on here better
I just replicated the problem with a different program, so it could really be KAccounts. Specifically, I got the same "Invalid response content type" error when I tried to set up mt Google account to access my Google Calendars in KOrganizer. So, unless KOrganizer uses kio-gdrive to assist KAccounts in accessing Google Calendar, it would seem the common denominator here is KAccounts. I can attach a screenshot of the error message if it will help the debug process, just let me know.
In KOrganizer you did Settings > Configure KOrganizer > General > Calendars > Add > Google Groupware, right? That doesn't use KAccounts at all AFAIK, but there is a common denomintor here, which is libkgapi.
Yes, the workflow you described is what I did. After I entered my Google account credentials and accepted the permissions, the error message came up after about 30 seconds. My laptop is at my office (and I'm not at the moment), but when I drop by later today I can reinstall libkgapi to see if that solves the problem. I'll report back either way, just in case there is a possible issue with libkgapi.
*Update* It seems I can't just remove and re-install libkgapi, because kio-gdrive and kmailtransport depend on the library. I got a fail message in the terminal from pacman, and in Pamac, removing libkgapi will necessarily require the removal of numerous programs, something I'm not prepared to do at the moment. I hope the information I've provided so far will be enough to assist.