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

500 error when retrieving albums #30

Open
DJT1423 opened this issue Aug 6, 2023 · 3 comments
Open

500 error when retrieving albums #30

DJT1423 opened this issue Aug 6, 2023 · 3 comments

Comments

@DJT1423
Copy link

DJT1423 commented Aug 6, 2023

I have been running your wonderful program for a few years no with no issues. Suddenly my NFC tags have stopped calling up Spotify music. The Sonos API seems to be OK when I access http://myPi_IPAddress:5005/ Also, I can control Spotify on my Sonos with the http://myPi_IPAddress:5005/playpause command.

However, if I try playing an album on a windows machine with a web browser, for example: http://myPi_IPAddress:5005/Lounge/spotify/now/spotify:album:12n11cgnpjXKLeqrnIERoS as in your John Grant example, I receive this error:
{"status":"error","error":"Got status 500 when invoking /MediaRenderer/AVTransport/Control","stack":"Error: Got status 500 when invoking /MediaRenderer/AVTransport/Control\n at Object.invoke (/home/pi/node-sonos-http-api/node_modules/sonos-discovery/lib/helpers/soap.js:99:10)\n at Player.addURIToQueue (/home/pi/node-sonos-http-api/node_modules/sonos-discovery/lib/models/Player.js:616:15)\n at promise.then (/home/pi/node-sonos-http-api/lib/actions/spotify.js:37:33)"}

Any thoughts as to what may be happening? By the way, I am still running "Buster" on this Pi.
Thanks, David T

@thesquib
Copy link

thesquib commented May 3, 2024

Hey David, I've been running everything just fine until a few weeks ago and now I'm in the same boat as you! Did you ever resolve this?

@DJT1423
Copy link
Author

DJT1423 commented May 3, 2024 via email

@thesquib
Copy link

thesquib commented May 5, 2024

Thanks! So you do have it working? That's good to know

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