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

Dwarflord

Newbie

3355 Views

22 replies

2 likes

Discussion
  • 3355 Views
  • 22 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

TuneNest

Newbie

103201 Views

357 replies

32 likes

S4D
  • 103201 Views
  • 357 replies
  • 32 likes

Spotify iOS SDK authentication returns 'unknown_error'

PlanPremiumCountryArgentinaDeviceiPhone 15 ProOperating SystemiOS 18.4Spotify Version9.0.32.638Spotify iOS SDK Version3.0.0Xcode Version16.3 I'm encountering persistent "unknown_error" responses when attempting to authenticate using the Spotify iOS S...

Casual Listener

Plan Premium Country Argentina Device iPhone 15 Pro Operating System iOS 18.4 Spotify Version 9.0.32.638 Spotify iOS SDK Version 3.0.0 Xcode Version 16.3   I'm encountering p...

jmandawg

Casual Listener

2649 Views

8 replies

1 likes

auth
iOS
SDK
unknown error
  • 2649 Views
  • 8 replies
  • 1 likes

Solved!! Inconsistent results on playlists endpoint

PlanPremiumCountrySpainDevice-Operating System- My Question or IssueI was considering a small personal project using the Web API, and as a proof of concept I tried to fetch my own user's playlists via API. The thing is that when I try the endpoint (G...

Casual Listener

Plan Premium Country Spain Device - Operating System -   My Question or Issue I was considering a small personal project using the Web API, and as a proof of concept I tried to fetch m...

ribezaz

Spotify Star

2124 Views

3 replies

1 likes

API Support
Possible Bug
  • 2124 Views
  • 3 replies
  • 1 likes

Solved!! Proper auth method for a webserver sharing spotify data of only one user

PlanPremiumCountryIrelandDeviceN/AOperating SystemN/A My Question or IssueFor my personal website I would like to show a list of my recently played tracks on Spotify. This is made available via a rest api endpoint on my server. To authenticate my ser...

Newbie

Plan Premium Country Ireland Device N/A Operating System N/A   My Question or Issue For my personal website I would like to show a list of my recently played tracks on Spotify. This is...

ribezaz

Spotify Star

922 Views

1 replies

1 likes

api
auth
Question
  • 922 Views
  • 1 replies
  • 1 likes

Unable to get my application accepted

Hello! I've submitted my application many times and I'm unable to get it accepted.Every time the reviewer rejects it by just saying the "app does not work".I checked the logging from my server and there is no evidence of issues or errors, I've also t...

Visitor

Hello! I've submitted my application many times and I'm unable to get it accepted. Every time the reviewer rejects it by just saying the "app does not work". I checked the logging from my server an...

401 Views

0 replies

1 likes

Question
  • 401 Views
  • 0 replies
  • 1 likes

Loopback redirect URI incorrectly considered insecure

When I want to add a loopback redirect URI for my app in the WebUI everything works fine if I follow the docks, e.g. with an URI like: http://127.0.0.1/some/redirect/path. However, if the redirect path (mind you, the path section, not the domain name...

Newbie

When I want to add a loopback redirect URI for my app in the WebUI everything works fine if I follow the docks, e.g. with an URI like: http://127.0.0.1/some/redirect/path.   However, if the re...

635 Views

0 replies

3 likes

Possible Bug
  • 635 Views
  • 0 replies
  • 3 likes

Only showing preview

I'm messing with the embed feature and putting it in a basic HTML file, and it's only playing the preview with the option to play it on Spotify. I haven't modified the code at all. Is there a way to play the full song or is embedded restricted to the...

Newbie

I'm messing with the embed feature and putting it in a basic HTML file, and it's only playing the preview with the option to play it on Spotify. I haven't modified the code at all. Is there a way to ...

hq9000

Regular

15660 Views

14 replies

4 likes

  • 15660 Views
  • 14 replies
  • 4 likes

iframe embed giving Content Security Policy error

Hi all, i've embedded spotify widget to me website (iframe) but it under certain circumstances gives me the following error when I'm logged in to spotify. Refused to frame 'https://accounts.spotify.com/' because an ancestor violates the following Con...

Regular

Hi all, i've embedded spotify widget to me website (iframe) but it under certain circumstances gives me the following error when I'm logged in to spotify.    Refused to frame 'https://acc...

hq9000

Regular

3648 Views

5 replies

1 likes

Possible Bug
  • 3648 Views
  • 5 replies
  • 1 likes

Illegal Scopes after granted quota extension

I made an app using the Spotify API and recently filed an extension request. In the request I included all the scopes that my code uses. These scopes were all approved a few days ago however, when I run my app now, it just shows "illegal scopes" (The...

Casual Listener

I made an app using the Spotify API and recently filed an extension request. In the request I included all the scopes that my code uses. These scopes were all approved a few days ago however, when I ...

NEERAJ_MAHENDRAKAR

Visitor

2453 Views

5 replies

3 likes

Possible Bug
  • 2453 Views
  • 5 replies
  • 3 likes

msPlayed is londer than track.duration_ms

I'm working with Spotify streaming data and noticed that for multiple songs the amount of time spent streaming the song is longer than its actual duration, which shouldn't be possible. In most cases, the two numbers are only off by a few milliseconds...

Newbie

I'm working with Spotify streaming data and noticed that for multiple songs the amount of time spent streaming the song is longer than its actual duration, which shouldn't be possible. In most cases,...

gab_landi

Newbie

4169 Views

2 replies

4 likes

streaming
Streaming Issue
timer error
  • 4169 Views
  • 2 replies
  • 4 likes

[Ads API] Aggregate reports by entity_type as AD_ACCOUNT.

Hi everyone!I'm trying to retrieve reach and impressions data by day using the Aggregate Reports endpoint. I've been following the official documentation available here: https://developer.spotify.com/documentation/ads-api/reference/v3.0/getAggregateR...

Visitor

Hi everyone! I'm trying to retrieve reach and impressions data by day using the Aggregate Reports endpoint. I've been following the official documentation available here: https://developer.spotify.c...

582 Views

0 replies

0 likes

Possible Bug
  • 582 Views
  • 0 replies
  • 0 likes

Apple Music now partnering with all DJ Softwares yet Spotify pulled theirs. Why?!

Apple Music just announced that they will be partnering with AlphaTheta, Serato, and inMusic's Engine DJ, Denon DJ, Numark and RANE DJ. This will allow live performance streaming of the over 100 million songs in their catalogue which is HUGE! Other s...

Newbie

Apple Music just announced that they will be partnering with AlphaTheta, Serato, and inMusic's Engine DJ, Denon DJ, Numark and RANE DJ. This will allow live performance streaming of the over 100 mill...

iamgiom

Visitor

2741 Views

1 replies

2 likes

Spotify vs. Apple Music
  • 2741 Views
  • 1 replies
  • 2 likes

Combining External Brand Content with Spotify API?

I’m building a small project that uses Spotify’s API for music data, and I’ve been experimenting with integrating third-party brand visuals like those on Higgdominorp ID.Has anyone here mixed Spotify content with external branded media before? I’m wo...

Casual Listener

I’m building a small project that uses Spotify’s API for music data, and I’ve been experimenting with integrating third-party brand visuals like those on Higgdominorp ID. Has anyone here mixed Spoti...

Ximzend

Spotify Star

1241 Views

2 replies

1 likes

Feature Request
Possible Bug
Question
  • 1241 Views
  • 2 replies
  • 1 likes

Android app remote SDK doesn't work?

PlanPremiumCountryIndiaDeviceXiaomi Mi A3, Google Pixel 6a, EmulatorOperating SystemAndroid 13, 14 My Question or IssueI want to create an app for personal use that can control playback in Spotify. So I tried to use the app remote SDK (https://github...

Newbie

Plan Premium Country India Device Xiaomi Mi A3, Google Pixel 6a, Emulator Operating System Android 13, 14   My Question or Issue I want to create an app for personal use that can contr...

catmario1321

Casual Listener

4568 Views

6 replies

0 likes

"android"
"api"
app-remote-lib
app-remote-sample
  • 4568 Views
  • 6 replies
  • 0 likes

About Policy 3.6

Would it be a violation of the Policy Section 3 "Some prohibited applications" to create a game mod/feature that connects with the spotify api? ie. If i were to make an ingame radio that connects with the users spotify playlists as a custom channel

Visitor

Would it be a violation of the Policy Section 3 "Some prohibited applications" to create a game mod/feature that connects with the spotify api?   ie. If i were to make an ingame radio that con...

305 Views

0 replies

0 likes

Developer Policy
Question
  • 305 Views
  • 0 replies
  • 0 likes

embed-function doesn't include the latest track on my playlist

Issues with an embedded playlist.The embed-function doesn't include the latest track on my playlist https://open.spotify.com/playlist/63wm6Cv5x07TqLh49NkGAy in the embedded code. I have tried deleting my cache, I have tried creating a new playlist (t...

Visitor

Issues with an embedded playlist. The embed-function doesn't include the latest track on my playlist https://open.spotify.com/playlist/63wm6Cv5x07TqLh49NkGAy in the embedded code.  I...

426 Views

0 replies

0 likes

embed
playlist
  • 426 Views
  • 0 replies
  • 0 likes

How can I keep my client ID a secret?

I have an app on extended quota mode, which has been on this mode for years. The track features (https://developer.spotify.com/documentation/web-api/reference/get-several-audio-features) endpoint is now deprecated and doesn't return data for new apps...

Music Fan

I have an app on extended quota mode, which has been on this mode for years. The track features (https://developer.spotify.com/documentation/web-api/reference/get-several-audio-features) endpoint is ...

1443 Views

0 replies

0 likes

Client ID
Extended Quota Mode
  • 1443 Views
  • 0 replies
  • 0 likes

Solved!! BUG when creating a private playlist via web api

Hi guys im using the web api to create private playlist for my user, im trying this:curl --location 'https://api.spotify.com/v1/users/{user}/playlists' \--header 'Authorization: Bearer {token} \--header 'Content-Type: application/json' \--data '{"nam...

Casual Listener

Hi guys im using the web api to create private playlist for my user, im trying this: curl --location 'https://api.spotify.com/v1/users/{user}/playlists' \ --header 'Authorization: Bearer {token} \ ...

LewisRengifo

Casual Listener

878 Views

2 replies

0 likes

Discussion
Possible Bug
Question
Web API
  • 878 Views
  • 2 replies
  • 0 likes

utm_source parameter in spotify shared link

My Question or IssueHi everyone,I'm working in a project in which we have a custom cms and a frontend app. We are implementing a feature that allows our content creators to add embeded spotify podcasts from the cms to the frontend. I noticed that the...

Visitor

My Question or Issue Hi everyone, I'm working in a project in which we have a custom cms and a frontend app. We are implementing a feature that allows our content creators to add embeded spotify po...

1160 Views

0 replies

0 likes

Question
  • 1160 Views
  • 0 replies
  • 0 likes

Dear Spotify creators! I would like to have a heart (like) button in the pull-down mini player. It w

PlanFree/PremiumCountry Device(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating System(iOS 10, Android Oreo, Windows 10,etc.) My Question or Issue

Visitor

Plan Free/Premium Country   Device (iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016) Operating System (iOS 10, Android Oreo, Windows 10,etc.)   My Question or Issue  

269 Views

0 replies

0 likes

Feature request.
  • 269 Views
  • 0 replies
  • 0 likes

Auto-generated Playlists (ie "Moody Mix") not returned in API

Hi,I am unable to access certain auto-generated or personalized playlists like Moody Mix, Angst Mix, and Dark Mix through the Spotify Web API. I have added these playlists in the client, but they do not show up in the results from the API (for exampl...

Newbie

Hi, I am unable to access certain auto-generated or personalized playlists like Moody Mix, Angst Mix, and Dark Mix through the Spotify Web API. I have added these playlists in the client, but they d...

Ximzend

Spotify Star

876 Views

1 replies

0 likes

AI
api
generated
playlist
  • 876 Views
  • 1 replies
  • 0 likes