502 error when transferring user playback
nigel opened this issue · 1 comments
nigel commented
Issue found on May 6th, 2020. A quick google search found that issue #700 from three years ago had a similar issue.
I'm trying to activate a device remotely that's marked as inactive without having user intervention. #680 recommended to transfer user playback to the inactive device. Is there a better way to do so?
Endpoint(s):
PUT /v1/me/player
Scope(s):
- user-modify-playback-state
Steps to reproduce:
- Get list of devices from
GET /v1/me/player/devices
- Select a device with the following:
is_restricted: false
andis_active: false
- Use that device ID to call
PUT /v1/me/player
with the json payload:
{"device_ids":[{device_id}],play:true}
Expected behavior:
The device should become active and I'm able to use web API to control that device.
Actual behavior:
502 Bad Gateway (consistently)
njm222 commented
Also receiving the same error on initiating the player