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

Inccrect return from getAlbum endpoint when requested album id does not exist #454

Closed
khers opened this issue Jan 13, 2024 · 2 comments
Closed

Comments

@khers
Copy link

khers commented Jan 13, 2024

When I use the getAlbum endpoint and pass it an id that is clearly not present, e.g. "notARealAblumId" I get a error 10 (Required Parameter was Missing) response but should get 70 (Requested data was not found).

gonic version: 0.16.2

if from docker, docker tag: latest
if from source, git tag/branch:

Response from getAlbum with 'id' set to 'notARealAlbumId':
{'status': 'failed', 'version': '1.15.0', 'type': 'gonic', 'serverVersion': '0.16.2', 'openSubsonic': True, 'error': {'code': 10, 'message': 'please provide an `id` parameter'}}

@sentriz
Copy link
Owner

sentriz commented Jan 13, 2024

what happens if you pass an actual id which doesn't exist like id=al-133556

@sentriz
Copy link
Owner

sentriz commented Jan 14, 2024

fixed, but the id needs to look like a valid gonic id such as al-123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants