Skip to content

[BUG] Could not load KDBX database from Google Drive. Error log shows com.google.GTLRErrorObjectDomain #818

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

Open
2 tasks done
migscabral opened this issue Nov 20, 2024 · 1 comment

Comments

@migscabral
Copy link

migscabral commented Nov 20, 2024

Preliminaries
I have ensured that:

  • I am running the latest version of Strongbox on the App Store by searching for Strongbox and clicking into it to see the Update button (or not)
  • I have performed a full restart of my device no matter how annoying that is

Versions

  • OS: macOS Sequoia 15.1 (24B83)

Strongbox Version

  • Version: 1.60.24

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Open Strongbox.
  2. Databases Manager window appears.
  3. Click on 'Add Existing'.
  4. Scroll down and click on 'Google Drive'.
  5. Strongbox opens the browser for you to authenticate with your Google account.
  6. Authenticate with your Google account.
  7. Accept necessary permissions.
  8. You are redirected to Strongbox after confirming the permissions.
  9. A window showing the contents of your Google Drive is displayed.
  10. Scroll down and select the .kdbx file. KDBX file is password protected.
  11. Strongbox prompts you for a password.
  12. Input password.
  13. Strongbox attempts to sync an open file.
  14. Sync Error appears.
  15. Click on 'Yes, Open Offline'.
  16. Open Offline Error appears.

Expected behavior
After step 13 above, I'm expected to see the contents of my Keepass file.

Screenshots & Recordings
Sync Error:
Screenshot 2024-11-21 at 4 16 27 AM

Open Offline Error:
Screenshot 2024-11-21 at 4 17 13 AM

Screenshot 2024-11-21 at 4 03 33 AM

Additional context
Error log:

04:03:15.077 [In Progress] - Begin Sync [Interactive=NO, outstandingUpdate=NO, forcePull=0, provider=Google Drive, localModDate=(null), onlyIfModifiedDifferentFrom=(null), lastCheckedSourceMod=(null)]
04:03:16.398 [Error] - Error Domain=com.google.GTLRErrorObjectDomain Code=403 "Only files with binary content can be downloaded. Use Export with Docs Editors files." UserInfo={GTLRStructuredError=GTLRErrorObject 0x600000f21cb0: {code:403 errors:[1] message:"Only files with binary content can be downloaded. Use Export with Docs Editors files."}, NSLocalizedDescription=Only files with binary content can be downloaded. Use Export with Docs Editors files.}

@strongbox-mark
Copy link
Member

Hi, that sounds like a very strange error. Could you send your debug info to [email protected] and if possible a screen recording of the steps you're taking above. We'll try to take a look.

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

No branches or pull requests

2 participants