[GH-ISSUE #303] failed to save bookmark: title must not be empty (500) #221

Closed
opened 2026-02-25 23:33:44 +03:00 by kerem · 7 comments
Owner

Originally created by @sbrl on GitHub (Apr 4, 2021).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/303

If the title (which is apparently optional) is not set when adding a bookmark, it generates the following error:

failed to save bookmark: title must not be empty (500)

Here's a screenshot:

image

It doesn't matter whether the archive option is ticked or not.

Originally created by @sbrl on GitHub (Apr 4, 2021). Original GitHub issue: https://github.com/go-shiori/shiori/issues/303 If the title (which is apparently optional) is not set when adding a bookmark, it generates the following error: ``` failed to save bookmark: title must not be empty (500) ``` Here's a screenshot: ![image](https://user-images.githubusercontent.com/9929737/113522670-72e45180-959a-11eb-91b9-1303f581c57b.png) It doesn't matter whether the archive option is ticked or not.
kerem 2026-02-25 23:33:44 +03:00
  • closed this issue
  • added the
    tag:stale
    label
Author
Owner

@fmartingr commented on GitHub (Feb 10, 2022):

Hey @sbrl, I've just tried this and it works without an issue. I'm closing as can't reproduce. If you still experience this issue please share the link you're trying to save to investigate further.

<!-- gh-comment-id:1035480602 --> @fmartingr commented on GitHub (Feb 10, 2022): Hey @sbrl, I've just tried this and it works without an issue. I'm closing as can't reproduce. If you still experience this issue please share the link you're trying to save to investigate further.
Author
Owner

@sbrl commented on GitHub (Feb 18, 2022):

That's weird - I can reproduce this for all webpages @fmartingr.

For reference, I'm using this Dockerfile I've written on a Raspberry Pi 4 in armv7l mode, with this run.sh script.

<!-- gh-comment-id:1043680017 --> @sbrl commented on GitHub (Feb 18, 2022): That's weird - I can reproduce this for all webpages @fmartingr. For reference, I'm using [this Dockerfile](https://git.starbeamrainbowlabs.com/sbrl/docker-images/src/branch/master/images/shiori/Dockerfile) I've written on a Raspberry Pi 4 in armv7l mode, with [this `run.sh` script](https://git.starbeamrainbowlabs.com/sbrl/docker-images/src/branch/master/images/shiori/run.sh).
Author
Owner

@fmartingr commented on GitHub (Feb 18, 2022):

Hey @sbrl , which database are you using? (assuming sqlite). Have you tried with the latests commits from master?

I've checked and the bookmark should arrive to the save portion without a title (at least from the API, which is what the frontend uses):

github.com/go-shiori/shiori@feb150f8c6/internal/webserver/handler-api.go (L303-L306)

<!-- gh-comment-id:1044955985 --> @fmartingr commented on GitHub (Feb 18, 2022): Hey @sbrl , which database are you using? (assuming sqlite). Have you tried with the latests commits from master? I've checked and the bookmark should arrive to the save portion without a title (at least from the API, which is what the frontend uses): https://github.com/go-shiori/shiori/blob/feb150f8c6681c87d9fa0ae7a0f82e349014925c/internal/webserver/handler-api.go#L303-L306
Author
Owner

@sbrl commented on GitHub (May 1, 2022):

Oops, sorry for not responding.

Yeah, I am using sqlite. Hmmmm, I'll give the latest release a go - I've just compiled and run the migration tool, so I'm now rebuilding my Docker image. I'll report back here when it's done.

<!-- gh-comment-id:1114268463 --> @sbrl commented on GitHub (May 1, 2022): Oops, sorry for not responding. Yeah, I am using sqlite. Hmmmm, I'll give the latest release a go - I've just compiled and run the migration tool, so I'm now rebuilding my Docker image. I'll report back here when it's done.
Author
Owner

@sbrl commented on GitHub (May 1, 2022):

Ok, so in the latest stable version it sorta works, in that it doesn't throw an error anymore, but it also doesn't fetch the title automatically:

image

It also takes forever to load the page as well, where it didn't before (but that's probably a separate issue).

<!-- gh-comment-id:1114282468 --> @sbrl commented on GitHub (May 1, 2022): Ok, so in the latest stable version it sorta works, in that it doesn't throw an error anymore, but it also doesn't fetch the title automatically: ![image](https://user-images.githubusercontent.com/9929737/166155968-99c8bb30-2630-485f-82f6-7bec06d96b79.png) It also takes forever to load the page as well, where it didn't before (but that's probably a separate issue).
Author
Owner

@fmartingr commented on GitHub (May 26, 2022):

Ok, so in the latest stable version it sorta works, in that it doesn't throw an error anymore, but it also doesn't fetch the title automatically:

That is expected, the bookmark is added faster and the content retrieval is performed in the background. If you refresh after a few seconds the content should be there.

It also takes forever to load the page as well, where it didn't before (but that's probably a separate issue).

Sorry about that! This is being discussed in #408

<!-- gh-comment-id:1138949778 --> @fmartingr commented on GitHub (May 26, 2022): > Ok, so in the latest stable version it sorta works, in that it doesn't throw an error anymore, but it also doesn't fetch the title automatically: That is expected, the bookmark is added faster and the content retrieval is performed in the background. If you refresh after a few seconds the content should be there. > It also takes forever to load the page as well, where it didn't before (but that's probably a separate issue). Sorry about that! This is being discussed in #408
Author
Owner

@stale[bot] commented on GitHub (Nov 5, 2022):

This issue has been automatically marked as stale because it has not had any activity for quite some time.
It will be closed if no further activity occurs.
Thank you for your contributions.

<!-- gh-comment-id:1304568435 --> @stale[bot] commented on GitHub (Nov 5, 2022): This issue has been automatically marked as stale because it has not had any activity for quite some time. It will be closed if no further activity occurs. Thank you for your contributions.
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/shiori#221
No description provided.