You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing open AND closed issues to see if an issue already exists for the bug I've encountered
I'm using the latest version (your issue may have been fixed already)
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
Enable and configure LastFM and Spotify integrations
Run a get request against the getAlbumInfo2.view api endpoint, using the id 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
The album in this example is "[Unknown Album]" by Iron Horse
Receive a 500 internal server error response
Environment
- OS: Debian 12 LXC
- Browser: Firefox on OpenSUSE Tumbeweed
- Client: Home Assistant Music Assistant, Firefox (api request), Insomnia
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
The text was updated successfully, but these errors were encountered: