[GH-ISSUE #1410] Unexpected token error #929

Closed
opened 2026-02-25 22:38:29 +03:00 by kerem · 2 comments
Owner

Originally created by @edueocara27 on GitHub (Sep 7, 2023).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1410

Which version of floccus are you using?

v4.19.1

Sync method

Google Drive

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Microsoft Edge (Windows 11) 116.0.1938.69 and Kiwi Browser (Android 11) 116.0.5845.72

Which version of Nextcloud Bookmarks are you using? (if relevant)

No response

Which version of Nextcloud? (if relevant)

No response

What kind of WebDAV server are you using? (if relevant)

No response

Describe the Bug

I'm trying to use floccus to synchronize Edge (PC) bookmarks with Kiwi Browser (Android) but I'm not succeeding.

Basically I enable sync on Edge using Google Drive. An .xbel file is generated in Google Drive. However, when I go to Kiwi Browser and try to import this .xbel file from Google Drive, an error message appears saying ''Unexpected token 'v', ''<?xml vers'' ... is not valid JSON''

When I use the android app, it's even worse because the app doesn't even allow me to select the .xbel file to import. In fact, I started to think that I'm doing something wrong in trying to sync bookmarks instead of being a bug.

Expected Behavior

Floccus on Kiwi Browser to import Edge bookmarks when clicking on the .xbel file

To Reproduce

Edge (PC): Click on floccus extension button -> set sync bookmarks using Google Drive -> Sync bookmarks in the created .xbel file

Kiwi Browser (Android): Click on floccus extension button -> click on 'Import accounts' button -> select the .xbel file.

Debug log provided

  • I have provided a debug log file
Originally created by @edueocara27 on GitHub (Sep 7, 2023). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1410 ### Which version of floccus are you using? v4.19.1 ### Sync method Google Drive ### Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please. Microsoft Edge (Windows 11) 116.0.1938.69 and Kiwi Browser (Android 11) 116.0.5845.72 ### Which version of Nextcloud Bookmarks are you using? (if relevant) _No response_ ### Which version of Nextcloud? (if relevant) _No response_ ### What kind of WebDAV server are you using? (if relevant) _No response_ ### Describe the Bug I'm trying to use floccus to synchronize Edge (PC) bookmarks with Kiwi Browser (Android) but I'm not succeeding. Basically I enable sync on Edge using Google Drive. An .xbel file is generated in Google Drive. However, when I go to Kiwi Browser and try to import this .xbel file from Google Drive, an error message appears saying ''Unexpected token 'v', ''<?xml vers'' ... is not valid JSON'' When I use the android app, it's even worse because the app doesn't even allow me to select the .xbel file to import. In fact, I started to think that I'm doing something wrong in trying to sync bookmarks instead of being a bug. ### Expected Behavior Floccus on Kiwi Browser to import Edge bookmarks when clicking on the .xbel file ### To Reproduce Edge (PC): Click on floccus extension button -> set sync bookmarks using Google Drive -> Sync bookmarks in the created .xbel file Kiwi Browser (Android): Click on floccus extension button -> click on 'Import accounts' button -> select the .xbel file. ### Debug log provided - [X] I have provided a debug log file
kerem 2026-02-25 22:38:29 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@marcelklehr commented on GitHub (Oct 24, 2023):

Hello @edueocara27
So the xbel files is not supposed to be imported via the import function.
Floccus has XBEL files which are stored on Google Drive and floccus will automatically read and write from those files if you have it set up in your browser.
Floccus also has json files which you can use to export and import floccus accounts. Ie. you can go to one device where you set up a lot of accounts in floccus, press export, get a json file, then go to a different device and import the json file: plop, you will have all those accounts in that other floccus device as well.
I hope this clears things up :)

<!-- gh-comment-id:1777673296 --> @marcelklehr commented on GitHub (Oct 24, 2023): Hello @edueocara27 So the xbel files is not supposed to be imported via the import function. Floccus has XBEL files which are stored on Google Drive and floccus will automatically read and write from those files if you have it set up in your browser. Floccus also has json files which you can use to export and import floccus *accounts*. Ie. you can go to one device where you set up a lot of accounts in floccus, press export, get a json file, then go to a different device and import the json file: plop, you will have all those accounts in that other floccus device as well. I hope this clears things up :)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 24, 2024):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:2433870784 --> @github-actions[bot] commented on GitHub (Oct 24, 2024): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#929
No description provided.