Spotify for Developers

Discuss building apps with Spotify APIs and SDKs

Start a topic

Forum Posts

Welcome to the Spotify for Developers board!

Welcome to the Spotify for Developers board! This forum is the place for conversations about Spotify's Web API, Web Playback SDK, Widgets, and other developer tools. Here you can ask questions about the Spotify platform, chat with other developers, a...

  • Spotify
  • Spotify
  • 13904 Views
  • 0 replies
  • 51 likes
  • Discussion
  • 13904 Views
  • 0 replies
  • 51 likes

iOS SDK enqueueTrackUri Incorrect call back results for adding a track to queue

When I add a track to the queue using following method:- (void) enqueueTrackUri: (NSString *) trackUri callback: (nullable SPTAppRemoteCallback) callback;The call back contains incorrect results, because in either case (song was added or not), the re...

  • Music Fan
  • When I add a track to the queue using following method: - (void) enqueueTrackUri: (NSString *) trackUri callback: (nullable SPTAppRemoteCallback) callback; The call back contains incorrect ...
  • Rzn8
  • Music Fan
  • 286 Views
  • 1 replies
  • 0 likes
  • Possible Bug
  • 286 Views
  • 1 replies
  • 0 likes

Add track to queue incorrect call back result

PlanPremiumDevice(iPhone 6s)Operating System(iOS 14.2) My Question or IssueWhen I add track to queue using method ( - (void)enqueueTrackUriNSString*)trackUri callbacknullable SPTAppRemoteCallback)callback;). There is call back with incorrect results,...

  • Visitor
  • Plan Premium Device (iPhone 6s) Operating System (iOS 14.2)   My Question or Issue When I add track to queue using method (  - ( void ) enqueueTrackUri 😞 NSString *)trackUri ca...
  • Rzn8
  • Music Fan
  • 285 Views
  • 1 replies
  • 0 likes
  • Possible Bug
  • 285 Views
  • 1 replies
  • 0 likes

IPv6 seems to be broken from Linode Sydney

Seeing quite a weird issue on multiple Linodes in their Sydney DC which essentially boils down to IPv6 being seemingly misconfigured on the Spotify end. I have tried but cannot replicate the issue on any other network I have access to. Running curl -...

  • Casual Listener
  • Seeing quite a weird issue on multiple Linodes in their Sydney DC which essentially boils down to IPv6 being seemingly misconfigured on the Spotify end. I have tried but cannot replicate the issue on...
  • tugzrida
  • Casual Listener
  • 333 Views
  • 1 replies
  • 0 likes
  • Possible Bug
  • 333 Views
  • 1 replies
  • 0 likes

Solved!!Superuser Contribution Constant 503 errors from API

API is constantly returning "503 Service Unavailable" with response body "upstream connect error or disconnect/reset before headers". Previously it used to happen somewhat frequent but now all the requests are failing with this error. No matter wheth...

  • Regular
  • API is constantly returning "503 Service Unavailable" with response body "upstream connect error or disconnect/reset before headers". Previously it used to happen somewhat frequent but now all the re...
  • markgrotskiy
  • Newbie
  • 4472 Views
  • 17 replies
  • 5 likes
  • Possible Bug
  • 4472 Views
  • 17 replies
  • 5 likes

[Desktop][Developer] Command Line Parameters in Windows

So I have IFTTT set up.I want to be able to set parameters so that when I run Spotify I can pass commands from the command line, like- /P - to start spotify and play specified playlist- /A - to start spotify and play specified album (only first of ...

  • Visitor
  • So I have IFTTT set up. I want to be able to set parameters so that when I run Spotify I can pass commands from the command line, like - /P <playlist> - to start spotify and play specified pl...
  • 183 Views
  • 0 replies
  • 0 likes
  • Desktop
    Developer
  • 183 Views
  • 0 replies
  • 0 likes

Login API error

https://accounts.spotify.com/api/token returns error:"upstream connect error or disconnect/reset before headers. reset reason: connection termination"

  • Newbie
  • https://accounts.spotify.com/api/token returns error: "upstream connect error or disconnect/reset before headers. reset reason: connection termination"
  • Lawrence21
  • Visitor
  • 5210 Views
  • 4 replies
  • 3 likes
  • Possible Bug
  • 5210 Views
  • 4 replies
  • 3 likes

Solved!!Superuser Contribution Critical bug in search API since today or yesterday?

Hello!Looks like combining year and any other query parameter in search API (https://api.spotify.com/v1/search) while asking for "tracks" stopped working today or yesterday. Any known problems or is it planned (but sudden for us poor devs) change?Exa...

  • Music Fan
  • Hello! Looks like combining year and any other query parameter in search API (https://api.spotify.com/v1/search) while asking for "tracks" stopped working today or yesterday. Any known p...
  • alexantenna
  • Music Fan
  • 1030 Views
  • 7 replies
  • 8 likes
  • Possible Bug
  • 1030 Views
  • 7 replies
  • 8 likes

[Developer] Access private playlists in folders (no need for a new endpoint)

I know there is no API endpoint for folders and the idea for this has been posted several times. But as soon as playlists are put into a folder I cannot retrieve them from the API. Would be amazing to be able to access all private playlists (regardle...

  • Newbie
  • I know there is no API endpoint for folders and the idea for this has been posted several times. But as soon as playlists are put into a folder I cannot retrieve them from the API.    Wou...
  • djk-tel
  • Music Fan
  • 479 Views
  • 2 replies
  • 2 likes
  • Developer
  • 479 Views
  • 2 replies
  • 2 likes

Access to currently playing song on desktop app

Operating SystemWindows 10 My Question or IssueI'm trying to make an extension for the windows spotify app that needs to access the song currently playing on the app. It's supposed to work even when the app is in offline mode, so I can't use the web ...

  • Visitor
  • Operating System Windows 10   My Question or Issue I'm trying to make an extension for the windows spotify app that needs to access the song currently playing on the app. It's supposed to wo...
  • 253 Views
  • 0 replies
  • 1 likes
  • question
  • 253 Views
  • 0 replies
  • 1 likes

get liked tracks of an artist with api

Hello, Is there any way to get user's liked tracks of an specific artist through api? on pc/android, when we are on an artist's page, we can see in a section the liked tracks of him: https://imgur.com/E091iC7 Thanks!

  • Visitor
  • Hello,   Is there any way to get user's liked tracks of an specific artist through api?   on pc/android, when we are on an artist's page, we can see in a section the liked tracks of him...
  • 326 Views
  • 0 replies
  • 0 likes
  • api
    liked tracks
  • 326 Views
  • 0 replies
  • 0 likes

Android Studio 4.2

Hello, In the latest release of Android Studio 4.2, the option to Import .JAR/.AAR Package from the New Module wizard has been removed. Could anyone please update the Add the App Remote SDK instructions accordingly?Thanks,Nahum Budin.

  • Visitor
  • Hello,   In the latest release of Android Studio 4.2, the  option to  Import .JAR/.AAR Package  from the  New Module  wizard has been removed.   Could anyone ...
  • 422 Views
  • 0 replies
  • 0 likes
  • Android Studio
  • 422 Views
  • 0 replies
  • 0 likes

Podcast Embed Url Format

Hi I would like to clarify about the difference between the Url format for embed podcast https://open.spotify.com/embed/episode/51ViKYsRjo05WqvA8fLL1Uvshttps://open.spotify.com/embed-podcast/episode/51ViKYsRjo05WqvA8fLL1U I find out you only get the ...

  • Regular
  • Hi   I would like to clarify about the difference between the Url format for embed podcast     https://open.spotify.com/embed/episode/51ViKYsRjo05WqvA8fLL1U vs https://open.spot...
  • Hubo
  • Spotify Star
  • 335 Views
  • 1 replies
  • 0 likes
  • question
  • 335 Views
  • 1 replies
  • 0 likes

Superuser Contribution Spotify Follow Widget no longer functioning properly

I used https://developer.spotify.com/documentation/widgets/generate/follow-button/ to create code to use as a template for embedding "Follow artist on Spotify" buttons on a website. The domain on which the buttons are served from hosts thousands of a...

  • Casual Listener
  • I used https://developer.spotify.com/documentation/widgets/generate/follow-button/ to create code to use as a template for embedding "Follow artist on Spotify" buttons on a website. The domain on whi...
  • Starstew
  • Casual Listener
  • 1263 Views
  • 5 replies
  • 3 likes
  • Possible Bug
  • 1263 Views
  • 5 replies
  • 3 likes

Lyrics & audio Snippets

Hello, I am looking to create an app, i have read over the developer API but can't find the relevant information I need and wondered if the forum could help.I am looking to do the follow 1: FROM THE API GET THE SONG / SONG LYRICS2: PLAY SELECTED LYRI...

  • Newbie
  • Hello, I am looking to create an app, i have read over the developer API but can't find the relevant information I need and wondered if the forum could help. I am looking to do the follow   ...
  • 215 Views
  • 0 replies
  • 1 likes
  • Discussion
    question
  • 215 Views
  • 0 replies
  • 1 likes

Android SDK/Web API endpoint: Recommendation for Similar Artist, Similar Album and Similar Playlist

My Question or Issue:In Spotify, I have found that the recommendation is being updated on the frequent basis for Similar album, similar playlist, similar radio and similar artists. I am aware of the Content Api interface in the Android SDK which gene...

  • Casual Listener
  • My Question or Issue: In Spotify, I have found that the recommendation is being updated on the frequent basis for Similar album, similar playlist, similar radio and similar artists.   I am aw...
  • 225 Views
  • 0 replies
  • 0 likes
  • Recommendation for Similar Artist
    Similar Album and Similar Playlist
  • 225 Views
  • 0 replies
  • 0 likes

Design Guidelines: Default icon for spotify entities

Spotify has provided the design guidelines for using the Spotify logo on the given URL - https://developer.spotify.com/documentation/general/design-and-branding/ My Question:I have a question regarding the default icons used in the various entities o...

  • Casual Listener
  • Spotify has provided the design guidelines for using the Spotify logo on the given URL - https://developer.spotify.com/documentation/general/design-and-branding/   My Question: I have a ...
  • 212 Views
  • 0 replies
  • 0 likes
  • default icon for entities
  • 212 Views
  • 0 replies
  • 0 likes

How to tell if a release is an EP?

The Spotify API groups both Singles and EPs in the same category (singles):(Source: https://developer.spotify.com/documentation/web-api/reference/#object-albumobject) However, it clearly has an internal flag to mark a single as an EP, as made apparen...

Selbi_0-1620294650470.png Selbi_1-1620294713131.png Selbi_2-1620294744153.png Selbi_3-1620294972714.png
  • Gig Goer
  • The Spotify API groups both Singles and EPs in the same category (singles): (Source: https://developer.spotify.com/documentation/web-api/reference/#object-albumobject)   However, it cle...
  • gabrlh
  • Newbie
  • 541 Views
  • 2 replies
  • 1 likes
  • album_type
    EP
    single
  • 541 Views
  • 2 replies
  • 1 likes

Can't get my refresh token anymore?

PlanPremiumCountryHungaryDeviceESP8266 My Question or IssueI've been developing an ESP8266 project for a while now, and until now everythign was fine.Come today, and the access token can't be refreshed. I went and tried to create a new app, to get a ...

  • Casual Listener
  • Plan Premium Country Hungary Device ESP8266   My Question or Issue I've been developing an ESP8266 project for a while now, and until now everythign was fine. Come today, and the access...
  • 299 Views
  • 0 replies
  • 1 likes
  • Arduino
    ESP8266
  • 299 Views
  • 0 replies
  • 1 likes

Last listenings and user's genres with API

Hello everyone, I have a question about Spotify APIs. I don't have any experience on Spotify APIs, so if my question is a stupid, I'm sorry. I need to fetching last listenings and user's genres with APIs according to user's permission. Is it possible...

  • Visitor
  • Hello everyone,   I have a question about Spotify APIs. I don't have any experience on Spotify APIs, so if my question is a stupid, I'm sorry.    I need to fetching last listenings...
  • 171 Views
  • 0 replies
  • 0 likes
  • question
  • 171 Views
  • 0 replies
  • 0 likes

Safe use of spotify_client_id and spotify_client_secret

Hi there, I'm building a server side program with python that will interact with the Spotify WebAPI. My knowledge of security regarding server side applications and what is safe/best practice is rudimentary at best. I was hoping for any tips or advic...

  • Newbie
  • Hi there,   I'm building a server side program with python that will interact with the Spotify WebAPI. My knowledge of security regarding server side applications and what is safe/best practic...
  • 230 Views
  • 0 replies
  • 0 likes
  • question
  • 230 Views
  • 0 replies
  • 0 likes