abdulazizali77/sloooop

Intermittent 404s on seeks - "Player command failed: No active device found"

abdulazizali77 opened this issue · 1 comments

fetch("https://api.spotify.com/v1/me/player/seek?position_ms=14000", {
  "headers": {
    "accept": "*/*",
    "accept-language": "en-US,en;q=0.9",
   
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-site"
  },
  "referrer": "https://open.spotify.com/",
  "referrerPolicy": "strict-origin-when-cross-origin",
  "body": null,
  "method": "PUT",
  "mode": "cors",
  "credentials": "include"
});
{
  "error" : {
    "status" : 404,
    "message" : "Player command failed: No active device found",
    "reason" : "NO_ACTIVE_DEVICE"
  }
}


Possibly fetch the device_id and populate seek with device_id