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 for Developers

Discuss building apps with Spotify APIs and SDKs

Start a topic

Forum Posts

Increasing security requirements for integration with Spotify Web API

Hey all, we’re making some changes to the Spotify Web API. To improve security, we are planning to remove support for two ways of integrating with Spotify that have been replaced with more secure alternatives. Please check the Spotify for Developers ...

  • Spotify
  • Spotify
  • S4vageDreams
  • Visitor
  • 396 Views
  • 2 replies
  • 1 likes
  • Discussion
  • 396 Views
  • 2 replies
  • 1 likes

[Android][Developer] Back button not working properly when using Spotify applink

Device: LG G7, Galaxy Z-Flip 3Operating System: Android 10 On Android, the back button does not work when you open a playlist link using a view intent and setting the calling app's package name in the extras (EXTRA_REFERRER).I followed the instructio...

  • Casual Listener
  • Device: LG G7, Galaxy Z-Flip 3 Operating System: Android 10   On Android, the back button does not work when you open a playlist link using a view intent and setting the callin...
  • hajiko
  • Casual Listener
  • 583 Views
  • 1 replies
  • 0 likes
  • 583 Views
  • 1 replies
  • 0 likes

[Desktop][Developer] Add functionality to osascript

I'm working on being able to control spotify local with the osascript api and I've found it really useful and fun, but it's missing very necessary functionality to actually use. Nothing like the web api, but simply being able to control your queue wo...

  • Visitor
  • I'm working on being able to control spotify local with the osascript api and I've found it really useful and fun, but it's missing very necessary functionality to actually use. Nothing like the web ...
  • 360 Views
  • 0 replies
  • 0 likes
  • Desktop
    Developer
  • 360 Views
  • 0 replies
  • 0 likes

Superuser Contribution Keep getting 415 ('Unsupported Media Type') when trying to refresh and access token.

Hi all,Anyone dealt with a 415 response- error when trying to refresh and access token? See attached file to see code.

  • Newbie
  • Hi all, Anyone dealt with a 415 response- error when trying to refresh and access token?  See attached file to see code.   
  • serahrono
  • Spotify
  • 1920 Views
  • 1 replies
  • 0 likes
  • refresh token
  • 1920 Views
  • 1 replies
  • 0 likes

Superuser Contribution preview_url is 404

I'm calling Get a Track API using the following track_id to get preview url. Sample 1 GET https://api.spotify.com/v1/tracks/6nnyNtQlMYz0hAbElgGYVm Response: "preview_url": "https://p.scdn.co/mp3-preview/390a59df2a79986224bf6efa45de8e6974666f46?cid=77...

  • Regular
  • I'm calling Get a Track API using the following track_id to get preview url.   Sample 1     GET https://api.spotify.com/v1/tracks/6nnyNtQlMYz0hAbElgGYVm Response: "preview_url": ...
  • serahrono
  • Spotify
  • 812 Views
  • 2 replies
  • 1 likes
  • api
  • 812 Views
  • 2 replies
  • 1 likes

Get Track's Audio Analysis -- 404 analysis not found

PlanFree/PremiumCountryUnited States DeviceSpotify Web API My Question or IssueWhen using the "Get Track's Audio Analysis" endpoint, the response is consistently 404 "analysis not found." When testing the endpoint with over 20 songs, including popula...

  • Newbie
  • Plan Free/Premium Country United States   Device Spotify Web API   My Question or Issue When using the "Get Track's Audio Analysis" endpoint, the response is consistently 404 "anal...
  • th3xer0
  • Regular
  • 953 Views
  • 1 replies
  • 1 likes
  • 953 Views
  • 1 replies
  • 1 likes

CORS Policy Error Playlist Image Cover Set

I have been unable to use the set playlist image cover api. I am creating a web app and using next js and have been able to get this to work. I consistently get a has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on ...

  • Newbie
  • I have been unable to use the set playlist image cover api. I am creating a web app and using next js and have been able to get this to work. I consistently get a has been blocked by CORS policy...
  • rishisheth
  • Newbie
  • 368 Views
  • 1 replies
  • 1 likes
  • 368 Views
  • 1 replies
  • 1 likes

Logging in with an account other than mine returns 403.

Currently Spotify does not allow sharing saved song lists, so I deployed an app in Vercel that converts saved song lists into a new playlist. URL : https://spotify-playlist-splitter.vercel.app/ When I log in with my account, the various APIs return 2...

  • Newbie
  • Currently Spotify does not allow sharing saved song lists, so I deployed an app in Vercel that converts saved song lists into a new playlist.   URL : https://spotify-playlist-splitter.ver...
  • Ximzend
  • Spotify Star
  • 469 Views
  • 1 replies
  • 0 likes
  • 469 Views
  • 1 replies
  • 0 likes

The /v1/me/playlists endpoint randomly returns 404

Anyone from the Spotify team here? The /v1/me/playlists endpoint has been randomly returning 404 errors for a few days now. Please see the attached screenshot.

  • Music Fan
  • Anyone from the Spotify team here?   The /v1/me/playlists endpoint has been randomly returning 404 errors for a few days now.   Please see the attached screenshot.  
  • timocov
  • Regular
  • 582 Views
  • 2 replies
  • 1 likes
  • 582 Views
  • 2 replies
  • 1 likes

Superuser Contribution Publishing Web API data in academic papers

We are a group of students who wrote an academic paper for a project in our bachelor's degree program. It uses data from the Spotify Web API to attempt to classify songs into musical genres based on audio features.The dataset is only comprised of dat...

  • Newbie
  • We are a group of students who wrote an academic paper for a project in our bachelor's degree program. It uses data from the Spotify Web API to attempt to classify songs into musical genres based on ...
  • alvaron
  • Spotify
  • 1255 Views
  • 1 replies
  • 0 likes
  • 1255 Views
  • 1 replies
  • 0 likes

TypeError: Cannot add negative msPlayed value

Im bring to use the web api to play songs (one by one - not playlist)and I get the following at the html. [Error] TypeError: Cannot add negative msPlayed value: -9(anonymous function) (index.js:18:264819)(anonymous function) (index.js:18:259217)(anon...

  • Casual Listener
  • Im bring to use the web api to play songs (one by one - not playlist) and I get the following at the html.   [Error] TypeError: Cannot add negative msPlayed value: -9 (anonymous function) (...
  • jfost784
  • Casual Listener
  • 1337 Views
  • 8 replies
  • 0 likes
  • Web SDK
  • 1337 Views
  • 8 replies
  • 0 likes

Get a report when an API endpoint returns nothing and no error

Hi,Yesterday the endpoint to get recently played tracks did not return any data and did not give any error. Is there a way get notified when there's a problem with an endpoint? The official status Twitter feed mentioned nothing about this. Thanks, Pe...

  • Casual Listener
  • Hi, Yesterday the endpoint to get recently played tracks did not return any data and did not give any error.   Is there a way get notified when there's a problem with an endpoint? The offic...
  • 354 Views
  • 0 replies
  • 0 likes
  • endpoint
    error reporting
  • 354 Views
  • 0 replies
  • 0 likes

My me/player/recently-played endpoint has not updated since last night

The response from https://api.spotify.com/v1/me/player/recently-played endpoint hasn't been updated for me since last night even though I've played multiple tracks tonight. https://status.spotify.dev is showing all clear… Any ideas? Maybe a DST relat...

  • Regular
  • The response from https://api.spotify.com/v1/me/player/recently-played endpoint hasn't been updated for me since last night even though I've played multiple tracks tonight. https://status.s...
  • TriPete
  • Casual Listener
  • 514 Views
  • 2 replies
  • 0 likes
  • 514 Views
  • 2 replies
  • 0 likes

open.spotify.com is unresponsive and unreactive

PlanPremiumCountryCanadaDevice(Ryzen 7 3700X, 16GB RAM, 300Mbps download speed)Operating System(Windows 11) My Question or IssueThe open.spotify.com interface doesn't use loaders or check success or failure for events such as: adding to queue, shuffl...

  • Newbie
  • Plan Premium Country Canada Device (Ryzen 7 3700X, 16GB RAM, 300Mbps download speed) Operating System (Windows 11)   My Question or Issue The open.spotify.com interface doesn't use loa...
  • 296 Views
  • 0 replies
  • 0 likes
  • 296 Views
  • 0 replies
  • 0 likes

Is there a way to submit for Spotify's Dev Showcase?

The subject line sums it up. If there's not a way to submit, is there a forum within the Spotify community we could share things we've developed using Spotify's API? The closest forum I'd assume would be "Discussion & Promo", but one community guidel...

  • Regular
  • The subject line sums it up. If there's not a way to submit, is there a forum within the Spotify community we could share things we've developed using Spotify's API?   The closest forum I'd as...
  • 304 Views
  • 0 replies
  • 0 likes
  • Discussion
  • 304 Views
  • 0 replies
  • 0 likes

HTTP/2 for Spotify Embed Widgets

Hi,When running the PageSpeed Insights[1] for my blog which I use Spotify Embed Widgets[2] to share music I am getting performance hits due to the JavaScript files used for the Widgets being served over HTTP/1.1 instead of HTTP/2[3]. The images also ...

  • Casual Listener
  • Hi, When running the PageSpeed Insights[1] for my blog which I use Spotify Embed Widgets[2] to share music I am getting performance hits due to the JavaScript files used for the Widgets being served...
  • heatmanofurioso
  • Music Fan
  • 1204 Views
  • 2 replies
  • 2 likes
  • performance
  • 1204 Views
  • 2 replies
  • 2 likes

https://api.spotify.com/v1/playlists endpoint for algotorial playlist pool

Hi Spotify team and community, I was wondering whether it is possible to query the record pool that is behind semi-curated-algotorial, also called algotorial, playlists such as Easy On Sunday. Currently, the https://api.spotify.com/v1/playlists endpo...

  • Newbie
  • Hi Spotify team and community,   I was wondering whether it is possible to query the record pool that is behind semi-curated-algotorial, also called algotorial, playlists such as Easy On Sunda...
  • 337 Views
  • 0 replies
  • 0 likes
  • Algorithmic
    Algotorial
  • 337 Views
  • 0 replies
  • 0 likes

Set the Same Sound Level for All Tracks in Web Playback SDK

Hi allI have problems with the WebPlayback SDK and the different volumes on different tracks. Is there also a function like "Set the Same Sound Level for All Tracks" for the WebPlayback SDK as with the Spotify player e.g. on Windows or Android? Or ca...

  • Regular
  • Hi all I have problems with the WebPlayback SDK and the different volumes on different tracks. Is there also a function like "Set the Same Sound Level for All Tracks" for the WebPlayback SDK as with...
  • linux4u
  • Regular
  • 595 Views
  • 1 replies
  • 0 likes
  • volume
  • 595 Views
  • 1 replies
  • 0 likes

Would software that automatically skips part of Spotify songs be allowed?

Would software that automatically skips part of Spotify songs be allowed?Say, for example, that I want a specific part of a Spotify song to be skipped every time it comes on.Would software that does this for me be allowed by the Spotify developer ter...

  • Regular
  • Would software that automatically skips part of Spotify songs be allowed? Say, for example, that I want a specific part of a Spotify song to be skipped every time it comes on. Would software that d...
  • 365 Views
  • 0 replies
  • 0 likes
  • 365 Views
  • 0 replies
  • 0 likes

My API Wrapper was reported for infringing on Spotify's IP. Don't know who to contact!

I'm unsure who to contact in this case, but I wrote an object-oriented Spotify API wrapper a couple of years ago and put it open source on NPM. https://www.npmjs.com/package/enhanced-spotify-api I made a website for the documentation and was hosting ...

  • Newbie
  • I'm unsure who to contact in this case, but I wrote an object-oriented Spotify API wrapper a couple of years ago and put it open source on NPM.    https://www.npmjs.com/package/enhanced-s...
  • 398 Views
  • 0 replies
  • 1 likes
  • api
    api wrapper
    copyright
    legal
  • 398 Views
  • 0 replies
  • 1 likes