Announcements

Help Wizard

Step 1

NEXT STEP

Spotify for Developers

Discuss building apps with Spotify APIs and SDKs

Start a topic

Refresh token expiration: discussion thread

Hey everyone, I've created this thread to provide more insight on an upcoming change to how refresh tokens work for apps on the Spotify Web API. We've shared a blog post that explains what's changing and why. The short version: refresh tokens will no...

Spotify

vlipper

Casual Listener

1339 Views

9 replies

2 likes

Discussion
  • 1339 Views
  • 9 replies
  • 2 likes

February 2026 Spotify for Developers update: thread

Hey everyone, I’ve created this thread to provide an open space for discussion, feedback, concerns or ideas on an upcoming update to Spotify for Developers access. We’ve shared a blog post that explains what’s changing and why. Please use this thread...

Spotify

Kugelschreibert

Newbie

92697 Views

343 replies

31 likes

S4D
  • 92697 Views
  • 343 replies
  • 31 likes

Superuser Contribution GET /v1/me/top/tracks 403 Error

Operating SystemWindows 10 My Question or IssueMy app is currently in development mode. I'm using the client credentials OAuth flow. I've already set up my dashboard, registered my app, gotten my client id and client secret. I am trying to get my top...

Newbie

Operating System Windows 10   My Question or Issue My app is currently in development mode. I'm using the client credentials OAuth flow. I've already set up my dashboard, registered my app, ...

ohej

Spotify

1826 Views

1 replies

0 likes

  • 1826 Views
  • 1 replies
  • 0 likes

Solved!!Superuser Contribution Development of native app with playback in background

Dear Spotify,we are currently in the prototyping phase of a new app (Android/iOS), which allows the playback of selected playlists/albums/tracks of spotify.To do this job, one can use either the Web Playback SDK or the native SDKs for Android or iOS....

Casual Listener

Dear Spotify, we are currently in the prototyping phase of a new app (Android/iOS), which allows the playback of selected playlists/albums/tracks of spotify. To do this job, one can use either the ...

ohej

Spotify

2759 Views

4 replies

3 likes

  • 2759 Views
  • 4 replies
  • 3 likes

Superuser Contribution Persistent personal access token

Hi folks, Is there a way to generate a persistent access token for my own account -- I'd like to write some automation that runs during a build script for something that pulls some data from my own account. Due to this being an automated build script...

Casual Listener

Hi folks,   Is there a way to generate a persistent access token for my own account -- I'd like to write some automation that runs during a build script for something that pulls some data from...

ohej

Spotify

590 Views

1 replies

0 likes

  • 590 Views
  • 1 replies
  • 0 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

797 Views

1 replies

0 likes

  • 797 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 ...

539 Views

0 replies

0 likes

Desktop
Developer
  • 539 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

2315 Views

1 replies

0 likes

refresh token
  • 2315 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

1208 Views

2 replies

1 likes

api
  • 1208 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

1283 Views

1 replies

1 likes

  • 1283 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

615 Views

1 replies

1 likes

  • 615 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

720 Views

1 replies

0 likes

  • 720 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

897 Views

2 replies

1 likes

  • 897 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

1873 Views

1 replies

0 likes

  • 1873 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

2146 Views

8 replies

0 likes

Web SDK
  • 2146 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...

513 Views

0 replies

0 likes

endpoint
error reporting
  • 513 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

771 Views

2 replies

0 likes

  • 771 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...

446 Views

0 replies

0 likes

  • 446 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...

476 Views

0 replies

0 likes

Discussion
  • 476 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

1593 Views

2 replies

2 likes

performance
  • 1593 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...

535 Views

0 replies

0 likes

Algorithmic
Algotorial
  • 535 Views
  • 0 replies
  • 0 likes