[PR #9211] Add 404 response to MarkPlayedItem/MarkUnplayedItem #12020

Closed
opened 2026-02-07 06:48:37 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/9211

State: closed
Merged: Yes


Changes
When calling the MarkPlayedItem and MarkUnplayedItem endpoints with an itemId which does not exist, the response should be 404 rather than the current behaviour of throwing a 500 error.

Issues
Fixes: #9120

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/9211 **State:** closed **Merged:** Yes --- <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** When calling the MarkPlayedItem and MarkUnplayedItem endpoints with an itemId which does not exist, the response should be 404 rather than the current behaviour of throwing a 500 error. **Issues** Fixes: #9120
OVERLORD added the pull-request label 2026-02-07 06:48:37 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#12020