Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Sonarr download trigger returns 404 #787

Open
trusta opened this issue Dec 22, 2024 · 0 comments
Open

[Bug] Sonarr download trigger returns 404 #787

trusta opened this issue Dec 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@trusta
Copy link

trusta commented Dec 22, 2024

Describe the Bug
On the iOS app, doing a manual search for an episode of a TV show, and then attempting to start downloading that release, results in an error: DioException [bad response]: The request returned an invalid status code of 404.

I've reproduced LunaSea's API call in postman to get more details on the error returned by sonarr :
image

I compared the call made by LunaSea and the sonarr UI and found a difference. Sonarr UI adds the episodeId in request body. In this case, it's particularly useful.
https://github.com/JagandeepBrar/lunasea/blob/master/lib/api/sonarr/controllers/release/add_release.dart#L11

To Reproduce
Manually search for a series episode for which the series is not automatically recognized via the file name.

Sonarr marks the episode as Unknown Series in its interface :
image

Try to download the file in LunaSea.

Expected Behaviour

I'm expecting the download to start.

Screenshots

Versions

Additional context

@trusta trusta added the bug Something isn't working label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant