Announcements

Help Wizard

Step 1

NEXT STEP

Making a playlist react 401

Making a playlist react 401

Spotify Playlist generation React

Hello,

I am struggling to create a playlist on my React App. I added the scopes required, but I still get a 401 error whenever I try to make a playlist, despite things like search and getting audio features continuing to work.

 

Here is my code: 

airborm_1-1661458273437.png

 

 

Reply
2 Replies

Can you please share code of where you get the token form? I don't think the mistake is interested the code you already shared.

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 didn't include Client ID but in summary I have a "login" link that authorizes the user when clicked and has the required scope, then I get the token from the hash

Screen Shot 2022-08-26 at 3.01.56 AM.png
Screen Shot 2022-08-26 at 3.02.15 AM.png
Screen Shot 2022-08-26 at 3.05.03 AM.png

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