mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-26 06:35:59 +03:00
[GH-ISSUE #2002] E305: Create Bookmark produces HTTP 500 Response due syncing separator lines in bookmarks #1337
Labels
No labels
browser-specific
bug
correctness issues
enhancement
feature: Google Drive
feature: Linkwarden
feature: git
feature: nextcloud-bookmarks
feature: tabs
feature: webdav
help wanted
native-app
priority: high
priority: low
priority: medium
pull-request
question
question
stale
upstream
waiting for more information
wontfix
🙁 Not following issue template
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/floccus#1337
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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 💙
@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?
@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.
@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."
@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."
@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
@marcelklehr commented on GitHub (Aug 11, 2025):
Any news?
@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 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 ;)
@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 commented on GitHub (Aug 14, 2025):
Awesome! I'm glad it works again :) Happy syncing!