Skip to content

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

@migscabral

Description

@migscabral

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.}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions