Help Wizard

Step 1


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

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