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

Albums Added to Library Via API Not Appearing In Desktop/Mobile Apps, Only Web App

Albums Added to Library Via API Not Appearing In Desktop/Mobile Apps, Only Web App

I have quite a large collection of music files that I've accumulated over the years and it's been on my to-do list for quite some time to sit down and automate the collection of the album metadata and then the adding of those albums to my Spotify library via the web API. I completed the process last night, however, I'm having an interesting issue. All of the albums that I added via the web API appear in my library on the web app, but not on the desktop (Mac OS) or mobile (Android) app. Moreso, what's also strange is that if I look up any one of those albums that I added to my library via the API, it will show it the album as "hearted" and in my library. Additionally, if I right-click an album that I added via the API, it will give me the option in the context menu to "Remove from [My] Library," so it seems like the album is in my library, but if I go to Library -> Albums on either the desktop app or mobile, the album doesn't appear in my Library -> Albums view; the album does appear, however, on the web app in my Library -> Albums view. Any ideas as to what might be causing this / how to correct it? I tried clearing the cache on the desktop app and mobile app, logging out and back in, and leaving it in offline mode and then going back online to see if any of those actions would somehow correct the issue, maybe by resetting some cache that was preventing the mobile and desktop apps from displaying a more up-to-date version of my library, but none of those actions have worked. Furthermore, if I add an album on any of those apps, it is reflected immediately across all of them.

 

The particular endpoint I used is described here:
Save Albums for Current User 
Using the Developer's Console version embedded in that page also has the same effect of only updating the web app's library. 

 

I mentioned previously if I add an album to my library via any of Spotify's platforms (web, mobile, or desktop), that album shows up instantaneously on all platforms. I added an album via the web app and inspected the PUT request and it's essentially the same request as the one I generated save for a few header params, app-platform: "WebPlayer" and spotify-app-version: "1.1.**bleep**.57.ga799da81" most notably. Any insight as to why this might be happening would be appreciated.

Screen Shot 2021-09-13 at 3.06.08 AM.png
Screen Shot 2021-09-13 at 3.05.41 AM.png
Screen Shot 2021-09-13 at 3.05.27 AM.png
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