Announcements
From 28th September 2026, Community private messages will no longer be available. If you have any private messages you'd like to keep, please save or copy them using these steps before this date. Thank you.

Help Wizard

Step 1

NEXT STEP

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

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/ 5 years ago  in Social & Random