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

Spotify USER ID string lengths are not all the same - be aware developers

Spotify USER ID string lengths are not all the same - be aware developers

This situation came up with my own app so just warning others - I was storing USER ID, USER NAME, and ACCESS TOKEN in a mysql database but noticed that some users were not able to use my app and others were. Turns out I traced it back to a situation where mysql just assigned a default max string length (of 24) for the USER_ID field based on the first USER ID entered.  Unlike Track IDS and album IDs, etc, USER IDs are NOT all 24 chars long - some are 26 or 27 chars or 23 or whatever. 

 

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