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

/playlists API Endpoint Issue Fixed

We wanted to provide an update regarding issues identified in the “/playlists” API endpoints. We have investigated the reported concerns of null results appearing in responses and have fixed the behaviour in the “/me/playlists” and “/users/{user_id}/...

  • Spotify
  • Spotify
  • poisonzero31
  • Casual Listener
  • 180 Views
  • 5 replies
  • 1 likes
  • Possible Bug
  • 180 Views
  • 5 replies
  • 1 likes

Api returning 500 error

Hello, everyone! I'm trying to get my recently played tracks and I'm getting a 500 error. This is my code, let me know if I'm doing something wrong. Thank you very much! fetch("https://accounts.spotify.com/api/token?grant_type=client_credentials&clie...

  • Visitor
  • Hello, everyone! I'm trying to get my recently played tracks and I'm getting a 500 error. This is my code, let me know if I'm doing something wrong. Thank you very much!       &nbs...
  • Ximzend
  • Spotify Star
  • 452 Views
  • 3 replies
  • 1 likes
  • Error 500
  • 452 Views
  • 3 replies
  • 1 likes

Embed preview only

PlanFree/PremiumCountryMalaysiaDevice(Pc)Operating SystemMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/(KHTML, like Gecko) Chrome/Safari/ Edg/ My Question or IssueI used the same code on(Using the iFrame API | Spotify for Developers)however t...

  • Visitor
  •   Plan Free/Premium Country Malaysia Device (Pc) Operating System Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/(KHTML, like Gecko) Chrome/Safari/ Edg/   My Question or Is...
  • 387 Views
  • 0 replies
  • 1 likes
  • Question
  • 387 Views
  • 0 replies
  • 1 likes

Volume control no longer working in Web Playback SDK

This was working until very recently (within the last day or 2). Now, any time I try to set the volume of the web player using this endpoint, it returns a 403 with the following body: { "error" : { "status" : 403, "message" : "Player command failed: ...

  • Casual Listener
  • This was working until very recently (within the last day or 2). Now, any time I try to set the volume of the web player using this endpoint, it returns a 403 with the following body:   { "...
  • BeardedBear
  • Newbie
  • 1916 Views
  • 7 replies
  • 9 likes
  • 1916 Views
  • 7 replies
  • 9 likes

"Companion App" - where expected to put "Spotify Connect Instructions"

Hello, I am representing an OEM of the custom hardware with an accompanying app (almando.com) which can stream spotify. We are told to fulfil the "Companion App" requirements. https://developer.spotify.com/documentation/commercial-hardware/implementa...

  • Visitor
  • Hello,  I am representing an OEM of the custom hardware with an accompanying app (almando.com) which can stream spotify. We are told to fulfil the "Companion App" requirements.  https:/...
  • 176 Views
  • 0 replies
  • 0 likes
  • Question
  • 176 Views
  • 0 replies
  • 0 likes

Solved!!Superuser Contribution Unable to add users on dashboard

PlanPremiumCountryUSDeviceMac My Question or IssueI am unable to add new users to my recently created app. I see no prompt or button to do so. I continue to get a 403 error whenever I try access my app from another account.

  • Casual Listener
  • Plan Premium Country US Device Mac   My Question or Issue I am unable to add new users to my recently created app. I see no prompt or button to do so. I continue to get a 403 error whene...
  • Ximzend
  • Spotify Star
  • 3413 Views
  • 9 replies
  • 1 likes
  • 3413 Views
  • 9 replies
  • 1 likes

Superuser Contribution Track Start/Pause Events with Matomo

Is there any way to get callbacks from Embed iFrame API?I would like to track with Matomo Play and Stop events from embedded Spotify iFrames.

  • Newbie
  • Is there any way to get callbacks from Embed iFrame API? I would like to track with Matomo Play and Stop events from embedded Spotify iFrames.
  • Joeyyezhou
  • Visitor
  • 765 Views
  • 2 replies
  • 0 likes
  • Analytics
    api
    Callbacks
    embed
    javascript
    Matomo
    tracking
  • 765 Views
  • 2 replies
  • 0 likes

Bug with offset for method "Get User's Top Artists and Tracks"

How can I get 150 items from method "Get User's Top Artists and Tracks" with 3 request? My queries found a bug with the offset value and couldn't get more than 100 items. - If set limit 50 and offset 0 - response with 50 itemshttps://api.spotify.com/...

  • Music Fan
  • How can I get 150 items from method "Get User's Top Artists and Tracks" with 3 request? My queries found a bug with the offset value and couldn't get more than 100 items.   - If set limit...
  • Aurorum
  • Newbie
  • 1236 Views
  • 3 replies
  • 11 likes
  • api
    bug
  • 1236 Views
  • 3 replies
  • 11 likes

Can we remove the Loading Screen when we start the Auth flow in android kotlin (compose)

When the native App written in kotlin starts I call this method always :- private fun sendAuthRequest() { val request = AuthorizationRequest.Builder( SpotifyConstants.SPOTIFY_CLIENT_ID, AuthorizationResponse.Type.TOKEN, SpotifyConstants.SPOTIFY_REDIR...

  • Casual Listener
  • When the native App written in kotlin starts I call this method always :-    private fun sendAuthRequest() { val request = AuthorizationRequest.Builder( SpotifyConstants.S...
  • 261 Views
  • 0 replies
  • 2 likes
  • Android
    best practice
    Discussion
    native
  • 261 Views
  • 0 replies
  • 2 likes

Various Number of Results

Hello everyone,I have encountered an issue with the Spotify API and need some help. When using the API request "https://api.spotify.com/v1/artists/61qDotnjM0jnY5lkfOP7ve/albums," I receive a total of 136 albums. However, when I check in the Spotify a...

  • Casual Listener
  • Hello everyone, I have encountered an issue with the Spotify API and need some help. When using the API request "https://api.spotify.com/v1/artists/61qDotnjM0jnY5lkfOP7ve/albums," I receive a total ...
  • zuecke4
  • Casual Listener
  • 338 Views
  • 2 replies
  • 0 likes
  • api
  • 338 Views
  • 2 replies
  • 0 likes

Design Changes

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 I need to make some design changes to our website . How do I go about doing this? Cannot fin...

  • 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  I...
  • 176 Views
  • 0 replies
  • 0 likes
  • Discussion
  • 176 Views
  • 0 replies
  • 0 likes

500 internal server error

i got a token by making a post request using the client credentials and{ 'grant_type':'client_credentials','scope': 'user-read-recently-played'} in header. as data for that post request. But when i use this token to get recently played tracks- https:...

  • Newbie
  • i got a token by making a post request using the client credentials and { 'grant_type':'client_credentials', 'scope': 'user-read-recently-played'} in header. as data for that post request.   ...
  • Ximzend
  • Spotify Star
  • 3043 Views
  • 3 replies
  • 0 likes
  • 3043 Views
  • 3 replies
  • 0 likes

Can we use playlist info as a prompt for a GPT model

In the developer policy it's stated that: "Do not use the Spotify Platform or any Spotify Content to train a machine learning or AI model or otherwise ingest Spotify Content into a machine learning or AI model." I understand that we can't train an AI...

  • Newbie
  • In the developer policy it's stated that:  "Do not use the Spotify Platform or any Spotify Content to train a machine learning or AI model or otherwise ingest Spotify Content into a machine lea...
  • 453 Views
  • 0 replies
  • 0 likes
  • AI
    GPT
  • 453 Views
  • 0 replies
  • 0 likes

[API] Audiobooks API returns 404 not found for shows

Hi there,I'm starting development on Spotify API, and found a potential bug. On search API, I query for Harry Potter audiobooks (GET /v1/search?q=harry+potter&type=audiobook) that returns some results :- Harry Potter and the Sorcerer's Stone (ID 2IEB...

  • Casual Listener
  • Hi there, I'm starting development on Spotify API, and found a potential bug.   On search API, I query for Harry Potter audiobooks (GET /v1/search?q=harry+potter&type=audiobook) that retu...
  • Prague
  • Community Legend
  • 265 Views
  • 1 replies
  • 2 likes
  • Possible Bug
  • 265 Views
  • 1 replies
  • 2 likes

Solved!! 403 error on GET v1/me/top/tracks

I have been working on an App using Kotlin which uses spotify API and to fetch user spotify account data and to play some music using the spotify App Remote. Now as I proceeded with the app it is working all fine in my device but when I give the App ...

  • Casual Listener
  • I have been working on an App using Kotlin which uses spotify API and to fetch user spotify account data and to play some music using the spotify App Remote.   Now as I proceeded with the app ...
  • _error
  • Casual Listener
  • 970 Views
  • 2 replies
  • 0 likes
  • bug
    Discussion
    Help
    Question
  • 970 Views
  • 2 replies
  • 0 likes

refresh token always invalid

so, i have a personal project where i want to achieve my currently playing tracks from spotify to my website. i run it in localhost:3000/ and i set the redirect uri to localhost:3000/callback. so when i authorized my account and got the refresh token...

raaaizaa_0-1690877193477.png
  • Newbie
  • so, i have a personal project where i want to achieve my currently playing tracks from spotify to my website. i run it in localhost:3000/ and i set the redirect uri to localhost:3000/callback. so whe...
  • 369 Views
  • 0 replies
  • 0 likes
  • Question
  • 369 Views
  • 0 replies
  • 0 likes

[API] Audiobooks API returns 404 not found for shows

Hi there,I'm starting development on Spotify API, and found a potential bug. On search API, I query for Harry Potter audiobooks (GET /v1/search?q=harry+potter&type=audiobook) that returns some results :- Harry Potter and the Sorcerer's Stone (ID 2IEB...

  • Casual Listener
  • Hi there, I'm starting development on Spotify API, and found a potential bug.   On search API, I query for Harry Potter audiobooks (GET /v1/search?q=harry+potter&type=audiobook) that retu...
  • 155 Views
  • 0 replies
  • 0 likes
  • 155 Views
  • 0 replies
  • 0 likes

Weird Spotify POST 500 Playback Error

I'm using Electron and WideVine to play with the Spotify Web Playback API and everything works fine, I start a song but then it plays only for about three seconds and then skips to the next track and so on. I get this Error about three times:POST htt...

  • Music Fan
  • I'm using Electron and WideVine to play with the Spotify Web Playback API and everything works fine, I start a song but then it plays only for about three seconds and then skips to the next track and...
  • Koteyk0o
  • Music Fan
  • 1440 Views
  • 6 replies
  • 1 likes
  • Desktop Windows
    Playback Error
    Widevine
  • 1440 Views
  • 6 replies
  • 1 likes

How do I know that my app token has been rate limited?

Plan: PremiumCountry: USDevice: Macbook Pro M2 Max Hello Everyone, I'm running some code using the spotipy package in python and was wondering how I could get the request_header that says what kind of error I may be receiving. When I run my code, it ...

  • Newbie
  • Plan: Premium Country: US Device: Macbook Pro M2 Max   Hello Everyone,  I'm running some code using the spotipy package in python and was wondering how I could get the request_header t...
  • 191 Views
  • 0 replies
  • 0 likes
  • API Help
    API Key
    Question
  • 191 Views
  • 0 replies
  • 0 likes

Podcast player embed iframe behavior

PlanFreeCountryUSADeviceMacBook Pro M1, iPhone 11 Pro, iPadOperating SystemMacOS, iOSMy Question or Issueive embedded the Spotify player iframe into a Beaver Builder based Wordpress page. Works fine on desktop, but on iOS, when scrolling down to div ...

  • Visitor
  • Plan Free Country USA Device MacBook Pro M1, iPhone 11 Pro, iPad Operating System MacOS, iOS My Question or Issue ive embedded the Spotify player iframe into a Beaver Builder based Wordpress...
  • 194 Views
  • 0 replies
  • 0 likes
  • Question
  • 194 Views
  • 0 replies
  • 0 likes

Scopes ignored at the "Authorize" endpoint

I'm trying to connect my app to Spotify using Web API. When I do a GET request to Autohrize endpoint, I get redirected to login screen of Spotify.Code (dart) at "code_screenshot.png". Then, I put my mail and my pass (in the "login_screen.jpg"), but w...

  • Newbie
  • I'm trying to connect my app to Spotify using Web API. When I do a GET request to Autohrize endpoint, I get redirected to login screen of Spotify. Code (dart) at "code_screenshot.png".   ...
  • 149 Views
  • 0 replies
  • 0 likes
  • Possible Bug
    Question
  • 149 Views
  • 0 replies
  • 0 likes