mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-03-02 22:57:22 -05:00
[PTP] Missing torrents return 500 instead of 404 #1257
Labels
No labels
Area: API
Area: Database
Area: Db-migration
Area: Download Clients
Area: Indexer
Area: Metadata API
Area: Notifications
Area: Tooling
Area: UI
Area: Update API
Priority: High
Priority: Low
Priority: Medium
Status: Cannot Reproduce
Status: Confirmed
Status: Help Wanted
Status: In Progress
Status: Indexer - need invite
Status: Info Needed
Status: Investigating
Status: Logs Needed
Status: Maybe One Day
Status: Needs Triage
Status: Unlikely
Status: Waiting for OP
Status: Won't Fix
Type: Bug
Type: Bug
Type: Documentation
Type: Duplicate
Type: Enhancement
Type: External Bug
Type: Feature Request
Type: Regression
Type: Support
Type: Support.
lidarr-pull
radarr-pull
sonarr upstream
sonarr-pull
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Prowlarr#1257
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 @nonamethanks on GitHub (Nov 25, 2025).
I attest that there is not an existing issue for this?
I attest this is not related to a Cardigann YML Indexer.
Current Behavior
With PTP, if a torrent is provided to Radarr but is removed before it's snatched, Prowlarr will start returning status code 500 (instead of 404).
These are the logs on Radarr's side, as you can see Prowlarr is responding with a 500.
Expected Behavior
An attempt at downloading a torrent that was removed from PTP should return 404.
Steps To Reproduce
No response
Environment
What branch are you running?
Master
Trace Logs?
As you can see from the trace logs below, PTP responds with a HTML page for this torrent. I guess the problem is that the HTML page returns a 200 because it redirects to the deletion log.
I attest that Trace Logs have been provided as applicable. Reports will be closed if the required logs are not provided.
trace- that are relevant and show this issue.