Announcements

Help Wizard

Step 1

NEXT STEP

Error 201 on create playlist

Error 201 on create playlist

Operating System

(Windows 11)

 

Hi, i'm having an issue while creating a playlist, I've searched for documentation and nothing seems to result 

The token was recently generated

The response is: 

{
    "error": {
        "status": 401,
        "message": "Valid user authentication required"
    }
}



--header 'Authorization: Bearer BQBb97nFNROSJ_..._fuf4EfFT6N-y_Undc' \
--header 'Content-Type: application/json' \
--data '{
    "name": "New Demo playlist",
    "description": "New playlist description",
    "public": false
}'

 

 

Reply
5 Replies

Hi Alejandra_Ruiz,

How was the token generated?

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.

Hi, I created the token via the https://accounts.spotify.com/api/token, with my client ID and the client secret

Hi, the token was generated using the https://accounts.spotify.com/api/token with my client id and client secret

{"error": {"status": 401, "message": "Valid user authentication required" }

 

i am also getting same error

Hi,

You have to authorize to get a token t

that works (https://accounts.spotify.com/authorize).

You can find it here: Authorization Code Flow

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.

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