Issue found on July 1st 2020.
Endpoint(s):
PUT /v1/me/player/pause
PUT /v1/me/player/play
Scope(s):
user-modify-playback-state
Steps to reproduce:
- goto https://developer.spotify.com/console/put-pause
- request token and play some music in browser
- try the demo
Expected behaviour:
Music stops or resumes.
Actual behaviour:
{
"error": {
"status": 500,
"message": "Server error."
}
}
Sometimes the response is:
{
"error": {
"status": 404,
"message": "Player command failed: No active device found",
"reason": "NO_ACTIVE_DEVICE"
}
}
In such a case I must pause and resume the music in browser manually, to get it working.
Also when using the curl example how it is on the console page from command line (with valid token), the response is Error 411 (Length Required). The reason is, that it seems to require Content-Length in the header even when there are no data send.