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

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.

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.

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