Announcements

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

Authoriztion: Illegal scope/invalid scopes

Authoriztion: Illegal scope/invalid scopes

When trying to use the authoriztion flow outlined in the docs, I navigate to:

https://accounts.spotify.com/authorize?response_type=code&client_id=[MY_CLIENT_ID]&scope=user-read-private+user-modify-playback-state+streaming+playlist-read-prrivate+user-read-recently-played&redirect_uri=[MY_REDIRECT_URI]
and see the attached screenshot.
I keep getting invalid scopes as an error with the SDK too.
Screenshot 2024-10-12 at 19.39.29.png
Reply
3 Replies

There's a typo in one scope:

playlist-read-prrivate

it has to be:

playlist-read-private

XimzendRising Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Thank you! I corrected this but still find I'm unable to get playback (beyond the first 10 seconds of a track), despite being authorized. I have a listener on the player for '

playback_error' and I get an error when I try to playback.

Moreover, I have a listener on the '
authentication_error' event and I am told 'invalid scopes' sometimes. This is all after the typo fix, and my account is a premium account. Do you have any clue what could be causing this?

No, sorry. I've never saw that error before.

XimzendRising Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Suggested posts