[GH-ISSUE #2002] E305: Create Bookmark produces HTTP 500 Response due syncing separator lines in bookmarks #1337

Closed
opened 2026-02-25 22:39:43 +03:00 by kerem · 11 comments
Owner

Originally created by @donfraggle on GitHub (Jul 24, 2025).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/2002

Which version of floccus are you using?

5.5.6

How many bookmarks do you have, roughly?

4k

Are you using other means to sync bookmarks in parallel to floccus?

No

Sync method

Nextcloud Bookmarks

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

Mozilla/5.0 (X11; Linux x86_64; rv:141.0) Gecko/20100101 Firefox/141.0

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

15.1.2

Which version of Nextcloud? (if relevant)

v31.0.7

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

No response

Describe the Bug

Floccus Log:
2025-07-24T07:58:13.908Z Syncing failed with E035: Failed to create the following bookmark on the server: - #5368;3⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ parentId: 3
E035: Failed to create the following bookmark on the server: - #5370;3⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ parentId: 3

Nextcloud-Log:
message":"OCA\Bookmarks\Controller\BookmarkController::newBookmark uses the @PublicPage annotation and should use the #[OCP\AppFramework\Http\Attribute\PublicPage] attribute instead
message":"OCA\Bookmarks\Controller\BookmarkController::newBookmark uses the @NoCSRFRequired annotation and should use the #[OCP\AppFramework\Http\Attribute\NoCSRFRequired] attribute instead
message":"OCA\Bookmarks\Controller\BookmarkController::newBookmark uses the @NoCSRFRequired annotation and should use the #[OCP\AppFramework\Http\Attribute\NoCSRFRequired] attribute instead

Probably this error will caused due adding separator lines to bookmarks.
After deleting separator lines the error no longer occurs.

Expected Behavior

No error message

To Reproduce

Probably add a new separator line in bookmark manager on firefox browser and run floccus.

Debug log provided

  • I have provided a debug log file
Originally created by @donfraggle on GitHub (Jul 24, 2025). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/2002 ### Which version of floccus are you using? 5.5.6 ### How many bookmarks do you have, roughly? 4k ### Are you using other means to sync bookmarks in parallel to floccus? No ### Sync method Nextcloud Bookmarks ### Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please. Mozilla/5.0 (X11; Linux x86_64; rv:141.0) Gecko/20100101 Firefox/141.0 ### Which version of Nextcloud Bookmarks are you using? (if relevant) 15.1.2 ### Which version of Nextcloud? (if relevant) v31.0.7 ### What kind of WebDAV server are you using? (if relevant) _No response_ ### Describe the Bug Floccus Log: 2025-07-24T07:58:13.908Z Syncing failed with E035: Failed to create the following bookmark on the server: - #5368;3[⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯](https://separator.floccus.org/?id=624122) parentId: 3 E035: Failed to create the following bookmark on the server: - #5370;3[⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯](https://separator.floccus.org/?id=992737) parentId: 3 Nextcloud-Log: message":"OCA\\Bookmarks\\Controller\\BookmarkController::newBookmark uses the @PublicPage annotation and should use the #[OCP\\AppFramework\\Http\\Attribute\\PublicPage] attribute instead message":"OCA\\Bookmarks\\Controller\\BookmarkController::newBookmark uses the @NoCSRFRequired annotation and should use the #[OCP\\AppFramework\\Http\\Attribute\\NoCSRFRequired] attribute instead message":"OCA\\Bookmarks\\Controller\\BookmarkController::newBookmark uses the @NoCSRFRequired annotation and should use the #[OCP\\AppFramework\\Http\\Attribute\\NoCSRFRequired] attribute instead Probably this error will caused due adding separator lines to bookmarks. After deleting separator lines the error no longer occurs. ### Expected Behavior No error message ### To Reproduce Probably add a new separator line in bookmark manager on firefox browser and run floccus. ### Debug log provided - [ ] I have provided a debug log file
Author
Owner

@github-actions[bot] commented on GitHub (Jul 24, 2025):

Hello 👋

Thank you for taking the time to open this issue with floccus. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved. Let me give you a short introduction on what to expect from this issue tracker to avoid misunderstandings.
I'm Marcel. I created floccus a few years ago, and have been maintaining it since. I currently work for Nextcloud
which leaves me with less time for side projects like this one than I used to have.
I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient. It helps when you stick around to answer follow up questions I may have,
as very few bugs can be fixed directly from the first bug report, without any interaction. If information is missing in your bug report
and the issue cannot be solved without it, I will have to close the issue after a while.
Note also that GitHub in general is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
If you cannot lend a helping hand, to continue the development and maintenance of this project in a sustainable way,
I ask that you donate to the project when opening an issue (or at least once your issue is solved), if you're not a donor already.
You can find donation options at https://floccus.org/donate/. Thank you!

One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the Nextcloud forum,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself.

Thank you for reading through this primer. I look forward to working with you on this issue!
Cheers 💙

<!-- gh-comment-id:3112543946 --> @github-actions[bot] commented on GitHub (Jul 24, 2025): Hello :wave: Thank you for taking the time to open this issue with floccus. I know it's frustrating when software causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at and if possible solved. Let me give you a short introduction on what to expect from this issue tracker to avoid misunderstandings. I'm Marcel. I created floccus a few years ago, and have been maintaining it since. I currently work for Nextcloud which leaves me with less time for side projects like this one than I used to have. I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it. Until then, please be patient. It helps when you stick around to answer follow up questions I may have, as very few bugs can be fixed directly from the first bug report, without any interaction. If information is missing in your bug report and the issue cannot be solved without it, I will have to close the issue after a while. Note also that GitHub in general is a place where people meet to make software better *together*. Nobody here is under any obligation to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can collaborate to make this software better. For everyone. Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and try to fix the odd bug yourself. Everyone will be thankful for extra helping hands! If you cannot lend a helping hand, to continue the development and maintenance of this project in a sustainable way, I ask that you donate to the project when opening an issue (or at least once your issue is solved), if you're not a donor already. You can find donation options at <https://floccus.org/donate/>. Thank you! One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the Nextcloud forum, to twitter or somewhere else. But this is a technical issue tracker, so please make sure to focus on the tech and keep your opinions to yourself. Thank you for reading through this primer. I look forward to working with you on this issue! Cheers :blue_heart:
Author
Owner

@marcelklehr commented on GitHub (Jul 24, 2025):

Mh, the separator lines should not cause issues. Are there no other log entries in the nextcloud logs?

<!-- gh-comment-id:3112758911 --> @marcelklehr commented on GitHub (Jul 24, 2025): Mh, the separator lines should not cause issues. Are there no other log entries in the nextcloud logs?
Author
Owner

@donfraggle commented on GitHub (Jul 24, 2025):

I have deleted all separator line entries in the folder in my nextcloud bookmarks and also in firefox bookmark manager. After that floccus produces no errors. If I add a new separator on firefox bookmarks menu then the error occurs on next sync.

<!-- gh-comment-id:3112827735 --> @donfraggle commented on GitHub (Jul 24, 2025): I have deleted all separator line entries in the folder in my nextcloud bookmarks and also in firefox bookmark manager. After that floccus produces no errors. If I add a new separator on firefox bookmarks menu then the error occurs on next sync.
Author
Owner

@donfraggle commented on GitHub (Jul 24, 2025):

Server Log:
[24/Jul/2025:12:05:41 +0200] "POST /index.php/apps/bookmarks/public/rest/v2/bookmark HTTP/2.0 500

Nextcloud-Log:

method":"GET","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark?url=https%3A%2F%2Fseparator.floccus.org%2F%3Fid%3D992737","message":"OCP\DB\QueryBuilder\IQueryBuilder::resetQueryPart is deprecated and will be removed soon."

"method":"GET","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark?url=https%3A%2F%2Fseparator.floccus.org%2F%3Fid%3D992737","message":"OCA\Bookmarks\Controller\BookmarkController::getBookmarks uses the @PublicPage annotation and should use the #[OCP\AppFramework\Http\Attribute\PublicPage] attribute instead"

"method":"GET","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark?url=https%3A%2F%2Fseparator.floccus.org%2F%3Fid%3D992737","message":"OCA\Bookmarks\Controller\BookmarkController::getBookmarks uses the @NoCSRFRequired annotation and should use the #[OCP\AppFramework\Http\Attribute\NoCSRFRequired] attribute instead"

"method":"GET","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark?url=https%3A%2F%2Fseparator.floccus.org%2F%3Fid%3D992737","message":"OCA\Bookmarks\Controller\BookmarkController::getBookmarks uses the @NoCSRFRequired annotation and should use the #[OCP\AppFramework\Http\Attribute\NoCSRFRequired] attribute instead"

"method":"GET","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark?url=https%3A%2F%2Fseparator.floccus.org%2F%3Fid%3D992737","message":"Session token is invalid because it does not exist"

"method":"POST","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":"The loading of lazy AppConfig values have been triggered by app "bruteForce""

"method":"POST","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":"Token is not valid: Token is too short for a generated token, should be the password during basic auth"

"method":"POST","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":"Session token is invalid because it does not exist"

"method":"POST","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":"Calling OCP\DB\QueryBuilder\IQueryBuilder::andX without parameters is deprecated and will throw soon."

<!-- gh-comment-id:3112931660 --> @donfraggle commented on GitHub (Jul 24, 2025): Server Log: [24/Jul/2025:12:05:41 +0200] "**POST** /index.php/apps/bookmarks/public/rest/v2/bookmark HTTP/2.0 500 Nextcloud-Log: method":"GET","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark?url=https%3A%2F%2Fseparator.floccus.org%2F%3Fid%3D992737","message":"OCP\\DB\\QueryBuilder\\IQueryBuilder::resetQueryPart is deprecated and will be removed soon." "method":"GET","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark?url=https%3A%2F%2Fseparator.floccus.org%2F%3Fid%3D992737","message":"OCA\\Bookmarks\\Controller\\BookmarkController::getBookmarks uses the @PublicPage annotation and should use the #[OCP\\AppFramework\\Http\\Attribute\\PublicPage] attribute instead" "method":"GET","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark?url=https%3A%2F%2Fseparator.floccus.org%2F%3Fid%3D992737","message":"OCA\\Bookmarks\\Controller\\BookmarkController::getBookmarks uses the @NoCSRFRequired annotation and should use the #[OCP\\AppFramework\\Http\\Attribute\\NoCSRFRequired] attribute instead" "method":"GET","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark?url=https%3A%2F%2Fseparator.floccus.org%2F%3Fid%3D992737","message":"OCA\\Bookmarks\\Controller\\BookmarkController::getBookmarks uses the @NoCSRFRequired annotation and should use the #[OCP\\AppFramework\\Http\\Attribute\\NoCSRFRequired] attribute instead" "method":"GET","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark?url=https%3A%2F%2Fseparator.floccus.org%2F%3Fid%3D992737","message":"Session token is invalid because it does not exist" "method":"**POST**","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":"The loading of lazy AppConfig values have been triggered by app \"bruteForce\"" "method":"**POST**","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":"Token is not valid: Token is too short for a generated token, should be the password during basic auth" "method":"**POST**","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":"Session token is invalid because it does not exist" "method":"**POST**","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::andX without parameters is deprecated and will throw soon."
Author
Owner

@donfraggle commented on GitHub (Jul 24, 2025):

2025-07-24T10:31:33.074Z Syncing failed with E035: Failed to create the following bookmark on the server: - #undefined⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ parentId: 3
[24/Jul/2025:12:31:32 +0200] "POST /index.php/apps/bookmarks/public/rest/v2/bookmark HTTP/2.0" 500 51 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:141.0) Gecko/20100101 Firefox/141.0"

"method":"POST","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":"OCP\DB\QueryBuilder\IQueryBuilder::resetQueryPart is deprecated and will be removed soon."
"method":"POST","message":"Calling OCP\DB\QueryBuilder\IQueryBuilder::orX without parameters is deprecated and will throw soon."
"method":"POST","message":"Calling OCP\DB\QueryBuilder\IQueryBuilder::andX without parameters is deprecated and will throw soon."
"method":"POST","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":"OCP\DB\QueryBuilder\IQueryBuilder::resetQueryPart is deprecated and will be removed soon."

<!-- gh-comment-id:3112985964 --> @donfraggle commented on GitHub (Jul 24, 2025): 2025-07-24T10:31:33.074Z Syncing failed with E035: Failed to create the following bookmark on the server: - #undefined[⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯](https://separator.floccus.org/?id=992737) parentId: 3 [24/Jul/2025:12:31:32 +0200] "POST /index.php/apps/bookmarks/public/rest/v2/bookmark HTTP/2.0" 500 51 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:141.0) Gecko/20100101 Firefox/141.0" "method":"POST","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":"OCP\\DB\\QueryBuilder\\IQueryBuilder::resetQueryPart is deprecated and will be removed soon." "method":"POST","message":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::orX without parameters is deprecated and will throw soon." "method":"POST","message":"Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::andX without parameters is deprecated and will throw soon." "method":"POST","url":"/index.php/apps/bookmarks/public/rest/v2/bookmark","message":"OCP\\DB\\QueryBuilder\\IQueryBuilder::resetQueryPart is deprecated and will be removed soon."
Author
Owner

@marcelklehr commented on GitHub (Jul 28, 2025):

Could you try updating to the latest release of the bookmarks app that I've published yesterday? It might fix this

<!-- gh-comment-id:3127274476 --> @marcelklehr commented on GitHub (Jul 28, 2025): Could you try updating to the latest release of the bookmarks app that I've published yesterday? It might fix this
Author
Owner

@marcelklehr commented on GitHub (Aug 11, 2025):

Any news?

<!-- gh-comment-id:3175035163 --> @marcelklehr commented on GitHub (Aug 11, 2025): Any news?
Author
Owner

@donfraggle commented on GitHub (Aug 11, 2025):

Hi Markus,
I have not found your Release in the Floccus Release folder on GitHub. Where I can download it?
Yesterday I had have same error on Firefox on Windows 11. In some of my Browser Bookmarks the separator lines still exists and they are synchronized to Nextcloud. So the problem comes back.
Best regards
Stefan

Am 11. August 2025 16:13:42 MESZ schrieb Marcel Klehr @.***>:

marcelklehr left a comment (floccusaddon/floccus#2002)

Any news?

--
Reply to this email directly or view it on GitHub:
https://github.com/floccusaddon/floccus/issues/2002#issuecomment-3175035163
You are receiving this because you authored the thread.

Message ID: @.***>

<!-- gh-comment-id:3175460661 --> @donfraggle commented on GitHub (Aug 11, 2025): Hi Markus, I have not found your Release in the Floccus Release folder on GitHub. Where I can download it? Yesterday I had have same error on Firefox on Windows 11. In some of my Browser Bookmarks the separator lines still exists and they are synchronized to Nextcloud. So the problem comes back. Best regards Stefan Am 11. August 2025 16:13:42 MESZ schrieb Marcel Klehr ***@***.***>: >marcelklehr left a comment (floccusaddon/floccus#2002) > >Any news? > >-- >Reply to this email directly or view it on GitHub: >https://github.com/floccusaddon/floccus/issues/2002#issuecomment-3175035163 >You are receiving this because you authored the thread. > >Message ID: ***@***.***>
Author
Owner

@marcelklehr commented on GitHub (Aug 12, 2025):

Hi @donfraggle

You should be able to update Nextcloud Bookmarks in your Nextcloud admin interface. No new release of floccus should be necessary, only a new release of Nextcloud Bookmarks, the server-side app. Floccus is the client-side app ;)

<!-- gh-comment-id:3180597075 --> @marcelklehr commented on GitHub (Aug 12, 2025): Hi @donfraggle You should be able to update Nextcloud Bookmarks in your Nextcloud admin interface. No new release of floccus should be necessary, only a new release of Nextcloud Bookmarks, the server-side app. Floccus is the client-side app ;)
Author
Owner

@donfraggle commented on GitHub (Aug 14, 2025):

Hi @marcelklehr
my mistake :-). The error no longer occurs in the new version of the Bookmarks app. Thank you.
Best regards, Stefan

Am 12. August 2025 20:56:59 MESZ schrieb Marcel Klehr @.***>:

marcelklehr left a comment (floccusaddon/floccus#2002)

Hi @donfraggle

You should be able to update Nextcloud Bookmarks in your Nextcloud admin interface. No new release of floccus should be necessary, only a new release of Nextcloud Bookmarks, the server-side app. Floccus is the client-side app ;)

--
Reply to this email directly or view it on GitHub:
https://github.com/floccusaddon/floccus/issues/2002#issuecomment-3180597075
You are receiving this because you were mentioned.

Message ID: @.***>

<!-- gh-comment-id:3187939919 --> @donfraggle commented on GitHub (Aug 14, 2025): Hi @marcelklehr my mistake :-). The error no longer occurs in the new version of the Bookmarks app. Thank you. Best regards, Stefan Am 12. August 2025 20:56:59 MESZ schrieb Marcel Klehr ***@***.***>: >marcelklehr left a comment (floccusaddon/floccus#2002) > >Hi @donfraggle > >You should be able to update Nextcloud Bookmarks in your Nextcloud admin interface. No new release of floccus should be necessary, only a new release of Nextcloud Bookmarks, the server-side app. Floccus is the client-side app ;) > >-- >Reply to this email directly or view it on GitHub: >https://github.com/floccusaddon/floccus/issues/2002#issuecomment-3180597075 >You are receiving this because you were mentioned. > >Message ID: ***@***.***>
Author
Owner

@marcelklehr commented on GitHub (Aug 14, 2025):

Awesome! I'm glad it works again :) Happy syncing!

<!-- gh-comment-id:3188026581 --> @marcelklehr commented on GitHub (Aug 14, 2025): Awesome! I'm glad it works again :) Happy syncing!
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#1337
No description provided.