Open lilotter45 opened 2 months ago
Can confirm that also.
I discovered the same errors while accessing the /rest/getAlbumInfo
path.
I have been hitting this. I downgraded to 0.51.0 and this does not occur.
Thanks for the report. This was fixed in 5abe1567774fc54f6dbad085bb1ddaf19000e0dd but not released yet. Can you try with the develop
build and let me know if that works?
I'm planning to release a new bug-fix version soon.
I confirm that:
Version
0.51.1
Current Behavior
I initially encountered this error while attempting to setup Navidrome as a Subsonic Media Server music provider within Home Assistant's Music Assistant; the library synchronization would fail when a status code = 500 was returned.
Further investigation narrowed this down to a call to the
getAlbumInfo2.view
api endpoint. It seems to occur when an "Unknown" (meaning an album name that doesn't exist for a particular artist) album is submitted.I have verified that the api call works for known albums and fails for unknown albums; this is true when making api calls from Music Assistant, Firefox, and Insomnia.
Expected Behavior
A response indicating the lookup failed, including the Subsonic error code (presumably
70
in this case; https://www.subsonic.org/pages/api.jsp#ErrorHandling), allowing the client to handle the error and continue.Steps To Reproduce
getAlbumInfo2.view
api endpoint, using theid
of a fake album as the provided id. For example:https://music.base.url/rest/getAlbumInfo2.view?u=user&p=password&v=1.16.1&c=myApp&id=178c6e5e29a3cb44f755bb045cbc6854
Environment
How Navidrome is installed?
Binary (from downloads page)
Configuration
Relevant log output
Anything else?
No response
Code of Conduct