strongbox-password-safe / Strongbox

A KeePass/Password Safe Client for iOS and OS X
https://strongboxsafe.com
GNU Affero General Public License v3.0
1.34k stars 102 forks source link

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

Open migscabral opened 2 days ago

migscabral commented 2 days ago

Preliminaries I have ensured that:

Versions

Strongbox Version

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 commented 1 day ago

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