Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google.Apis: Error 403: Request had insufficient authentication scopes #432

Open
kenichi512 opened this issue Sep 15, 2024 · 6 comments
Open
Labels

Comments

@kenichi512
Copy link

Describe the bug
In the last few weeks I had to change passwords and access methods to the Google account where a synchronized copy of the database is stored. Due to the latest changes that force the use of Drive (restricted), I added KeeAnywhere to Google again and the first few days it worked fine but now that I updated Google password again and wanted to sync the database, that error appears. regardless of whether I go to "Save to Cloud Drive" or "Sync with URL" and enter the database URL and account credentials.

Screenshots
KA error 02
KA error 01

Environment:

  • Windows 10
  • KeePass-Version: 2.57
  • KeeAnywhere-Version: 2.1
@kenichi512 kenichi512 added the bug label Sep 15, 2024
@kenichi512 kenichi512 changed the title googleapi: Error 403: Request had insufficient authentication scopes Google.Apis: Error 403: Request had insufficient authentication scopes Sep 15, 2024
@RolandKaechele
Copy link

RolandKaechele commented Oct 13, 2024

I get the same error with gdrive-r

I have found the problem and the solution:

  • Remove your account from KeeAnywhere
  • Reconnect to gdrive restricted and make sure to enable the option "See, edit, create, and delete only the specific Google Drive files you use with this app. Learn more"

After that, connection is possible but you have to save your your keepass database from KeyAnywhere in the root of gdrive (from KeeAnywhere and not directly in Google Drive - in Keepass: File->Save As->Save Copy to Cloud Drive). Otherwise you will not see your Database.

@InvalidCast44
Copy link

I get the same error with gdrive-r

I have found the problem and the solution:

  • Remove your account from KeeAnywhere
  • Reconnect to gdrive restricted and make sure to enable the option "See, edit, create, and delete only the specific Google Drive files you use with this app. Learn more"

After that, connection is possible but you have to save your your keepass database from KeyAnywhere in the root of gdrive (from KeeAnywhere and not directly in Google Drive - in Keepass: File->Save As->Save Copy to Cloud Drive). Otherwise you will not see your Database.

that did the trick, thank you

@PaoloDAubert77
Copy link

I get the same error with gdrive-r

I have found the problem and the solution:

  • Remove your account from KeeAnywhere
  • Reconnect to gdrive restricted and make sure to enable the option "See, edit, create, and delete only the specific Google Drive files you use with this app. Learn more"

After that, connection is possible but you have to save your your keepass database from KeyAnywhere in the root of gdrive (from KeeAnywhere and not directly in Google Drive - in Keepass: File->Save As->Save Copy to Cloud Drive). Otherwise you will not see your Database.

Thanks, this solution did worked.

Just can't understand why Google changed his access from one day to another, limiting the access to our files.
It looks like Google blocked this app (KeeAnywhere) and I'm afraid should block also the "restricted" access.

@KHabecker
Copy link

KHabecker commented Dec 11, 2024

Using thus solution, can copies of Keepass/KeeAnywhere running on different computers still share the same database?

@PaoloDAubert77
Copy link

Using thus solution, can copies of Keepass/KeeAnywhere running on different computers still share the same database?

I can share the same database from pc and android phone so I bet also two different pc's can work the same.
Just be care to use the gdrive-restricted connection.

@InvalidCast44
Copy link

Using thus solution, can copies of Keepass/KeeAnywhere running on different computers still share the same database?

same here for successfull sharing between pc and android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants