Brave sync failing with parse error (Empty document)
See original GitHub issueDescribe the bug
When trying to sync bookmarks from Brave to Google drive, it fails with a parse error (see debug log)
To Reproduce
Steps to reproduce the behavior:
- Add Google drive configuration (all default)
- Start sync
- See error
Expected behavior
I expect my bookmarks to be synced to the bookmarks file on Google drive without an error
Screenshots
Account configuration:
Desktop
- OS: Arch Linux
- Browser: Brave
- Browser Version: 1.26.77
- Floccus version: 4.6.4
- Floccus sync method: Google drive
Server
Not applicable
Debug log
2021-07-28T07:26:23.644Z Starting sync process for account Google Drive: bookmarks.xbel
2021-07-28T07:26:23.664Z onSyncStart: begin
2021-07-28T07:26:25.000Z Syncing failed with Parse Error: <html xmlns="http://www.w3.org/1999/xhtml"><body><parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black"><h3>This page contains the following errors:</h3><div style="font-family:monospace;font-size:12px">error on line 1 at column 1: Document is empty
</div><h3>Below is a rendering of the page up to the first error.</h3></parsererror></body></html>
2021-07-28T07:26:25.003Z onSyncFail
- Debug log provided
Additional context
I previously set up Floccus (with Google drive) on Firefox on a different machine running Fedora without problems. I have tried removing the bookmarks.xbel file from the Fedora sync, but that did not change the error, and the file is not recreated when syncing from Brave.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Empty sync chain - Brave Community
Description of the issue: Sync chain is empty, so I cannot add my other laptop. QR code is unavailable Steps to Reproduce (add...
Read more >As soon I try to see my sync qr code, brave crashes
After reinstalling brave and pasting the old brave appdata in new brave appdata I have been facing problems with sync.
Read more >Brave sync error
This means Brave Sync is not running. To resolve this issue, please see the [Brave Sync troubleshooting guide]''.
Read more >My Sync no longer works - Brave Community
Steps for that, if you want to try it, are: If you're on Desktop or Android: Go to brave://sync-internals. Click on `Disable Sync...
Read more >Sync FAQ - Brave Help Center
As it's name suggests, this error will appear when Brave Sync is trying to access your safe storage data, when it doesn't have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, just thought the same thing. I’ll change the error message 😃
Cheers!
Damn, I didn’t remember doing that at all. Thank you! Maybe parsing errors should hint at this potentially being the problem? I don’t think I would’ve thought about it myself :p