Announcements

Help Wizard

Step 1

NEXT STEP

Getting 403 Error while Calling Web SDK APIs (Devices,Play,Pause etc) without information

Getting 403 Error while Calling Web SDK APIs (Devices,Play,Pause etc) without information

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"
});

 

Reply
2 Replies

Hi there!

 

Can I ask you to send a private message with your client ID and the email of the Spotify user you're trying to access the app with?

 

/Ole

Done

Suggested posts