Announcements

Help Wizard

Step 1

NEXT STEP

Make a playlist React

Make a playlist React

Hello currently I am trying to make a playlist but I am getting a 401 error. Does anyone have any ideas for how I can fix this?

Screen Shot 2022-08-24 at 5.38.27 PM.png
Reply
2 Replies

According to the documentation, a error 401 means: bad or expired token. This can happen if the user revoked a token or the access token has expired. You should re-authenticate the user.

XimzendSpotify 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.

I re-authenticated, and before I realized I did not not have the spotify scope for making playlist, so I added that, and now things like searching and getting audio features continue to work. However the 401 error is still there when I try to post a playlist. Additionally before the screen that pops up to agree to let the api access things about your account stopped popping up once I added the scopes. This is a problem because now the user cannot sign into other accounts.  

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random