Announcements
Happy Values Week! Today we celebrate *Inclusion* in the Spotify Stars Program!

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Test coding project 403 Forbidden

Test coding project 403 Forbidden

Plan

Premium

Country

Portugal

Device

Windows 10 Laptop

 

My Question or Issue

I am making a webpage where a song plays and you have to guess what year it came out as a test coding project. It worked yesterday but today stopped working, I barely played maybe 10-20 songs so I doubt it's a rate limit.
I use the  correct clientId, redirectUri and scopes, using vercel to deploy from github.

const scopes = "user-read-email user-read-private user-modify-playback-state";

Please log in to start
spotify-player.js:72 Spotify SDK loaded
spotify-player.js:77 SDK ready, waiting for token...
Navigated to https://accounts.spotify.com/authorize?client_id=XXXX&response_type=token&redirect_uri=https%3A%2F%2...
Navigated to https://chronosong.vercel.app/
script.js:281 Checking URL for token...
script.js:54 Hash: {access_token: 'XXX', token_type: 'Bearer', expires_in: '3600', state: '03wrh8y0c5089cub'}
script.js:57 Token set: XXXX
script.js:62 Waiting for Spotify SDK to load...
script.js:72 Spotify SDK loaded
index.js:3 It is recommended that a robustness level be specified. Not specifying the robustness level could result in unexpected behavior.
**bleep**:3
**bleep**:3
(anonymous) @ index.js:3
**bleep**:3
**bleep**:3
(anonymous) @ index.js:3
**bleep**:3
**bleep**:33
**bleep**:50
**bleep**:50
**bleep**:50
index.js:18
GET https://api.spotify.com/v1/melody/v1/check_scope?scope=web-playback 403 (Forbidden)
**bleep**:18
(anonymous) @ index.js:18
Promise.then
(anonymous) @ index.js:18
**bleep**:18
**bleep**:18
**bleep**:18
(anonymous) @ index.js:18
Promise.then
**bleep**:18
**bleep**:18
**bleep**:33
**bleep**:50
Promise.then
**bleep**:50
(anonymous) @ index.js:33
**bleep**:33
(anonymous) @ index.js:18
**bleep**:18
(anonymous) @ index.js:18
**bleep**:18
**bleep**:18
**bleep**:18
**bleep**:18
**bleep**:18
(anonymous) @ index.js:50
Promise.then
**bleep**:50
**bleep**:50
**bleep**:50
script.js:110 Player connected
index.js:18

PUT https://cpapi.spotify.com/v1/client/5016d15c9e3cb90d95e4ff34b9d41432373b8eb4 403 (Forbidden)
**bleep**:18
(anonymous) @ index.js:18
Promise.then
(anonymous) @ index.js:18
**bleep**:18
**bleep**:18
**bleep**:18
(anonymous) @ index.js:18
Promise.then
**bleep**:18
**bleep**:18
**bleep**:33
**bleep**:33
(anonymous) @ index.js:33
Promise.then
**bleep**:33
**bleep**:33
**bleep**:18
**bleep**:18
(anonymous) @ index.js:18
**bleep**:18
**bleep**:18
postMessage
**bleep**:18
**bleep**:18
**bleep**:18
**bleep**:18
(anonymous) @ index.js:18
**bleep**:18
**bleep**:18
postMessage
**bleep**:18
**bleep**:18
**bleep**:18
**bleep**:18
(anonymous) @ index.js:18
**bleep**:18
**bleep**:18
postMessage
**bleep**:18
**bleep**:18
**bleep**:18
**bleep**:18
**bleep**:18

It's a simple project and worked yesterday so i'm confused why it stopped.
You can find my code here: 
Github dot com /austinfu2/Chronosong/

Reply
0 Replies

Suggested posts