Announcements

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

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