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

UTF8 characters in Spotify user id

UTF8 characters in Spotify user id

Some API endpoints require the Spotify user id, one example being the "Create a playlist".

 

I have noticed that some users have special (UTF-8) characters in their ID. Example:

`débug`

 

When I make an API call with that Spotify user ID, I get an error saying that the user id should be in ASCII. An example from the create a playlist endpoint:

 

`URI::InvalidURIError: URI must be ascii only /users/d\u00E9bug/playlists`

 

I have attempted to make the request with `debug`, translating to `/users/debug/playlists` but I'm then hit with an error saying that I cannot create resources in a different user's account.

 

What's the expected format in this case, especially considering that not all UTF8 characters may have a corresponding ASCII code?

 

Thanks

Reply
0 Replies

Suggested posts