Getting 403 Error while Calling Web SDK APIs (Devices,Play,Pause etc) without information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plan Premium
Country India
Device Macbook 16 inch + Chrome
Operating System 11.3.1 (20E241)
I have created an app in my account when I am login from the same account through Spotify logic is working fine. But when I trying from another "PREMIUM" account I am getting a 403 error without any error response. I have added another account in Users also but the same thing for a week. Please have a look
fetch("https://api.spotify.com/v1/me/player/devices", {
"headers": {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9,hi;q=0.8",
"authorization": "Bearer BQCadmGlZVxZ-6L0rX07uRp0LE1q74eVcDs21mA-eLqIrf0JRbQhM7E8GifLGdwf0k9lZpcC0O53hk5uOvMmhfQCdfZ53zPhLGpOAE_F0z0CsYTszHbW-Pk3Wu0h0gs3W6dMHrn7peEBCHLmXKQZpCJaWUQ85rsgQubi6tx71DrPQ2gKipvsTspsojadD2VEuTIkSYbqndnVnw7scQ",
"sec-ch-ua": "\" Not;A Brand\";v=\"99\", \"Google Chrome\";v=\"91\", \"Chromium\";v=\"91\"",
"sec-ch-ua-mobile": "?0",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "cross-site"
},
"referrer": "http://localhost:3000/",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": null,
"method": "GET",
"mode": "cors",
"credentials": "include"
});
- Labels:
-
Web SDK
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page