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
  • 13945 Views
  • 0 replies
  • 51 likes
  • Discussion
  • 13945 Views
  • 0 replies
  • 51 likes

new_releases endpoint seem incomplete

PlanPremiumCountryFR DeviceAPI through Spotipy My Question or IssueHi,I'm trying to build something to gather album releases from a specific genre but the API response seem not return all the album. For example at this date if you call the API you wi...

  • Casual Listener
  • Plan Premium Country FR   Device API through Spotipy   My Question or Issue Hi, I'm trying to build something to gather album releases from a specific genre but the API response s...
  • Dranaxel
  • Casual Listener
  • 40 Views
  • 2 replies
  • 0 likes
  • api
  • 40 Views
  • 2 replies
  • 0 likes

Is there a String Length Limit for the Search Endpoint Query String

PlanFree/PremiumCountryUSADeviceiMac Late 2014Operating SystemmacOS Big Sir 11.6.4 (20G417) My Question or IssueWhen I attempt to execute the following query, either with Python or with the Spotify Developer Console, I get a 404 error. Does this erro...

  • Casual Listener
  • Plan Free/Premium Country USA Device iMac Late 2014 Operating System macOS Big Sir 11.6.4 (20G417)   My Question or Issue When I attempt to execute the following query, either with Pyt...
  • barduck
  • Casual Listener
  • 81 Views
  • 5 replies
  • 1 likes
  • Possible Bug
  • 81 Views
  • 5 replies
  • 1 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.   ...
  • Hubo
  • Spotify Star
  • 48 Views
  • 1 replies
  • 0 likes
  • question
  • 48 Views
  • 1 replies
  • 0 likes

How to solve the INVALID_CLIENT: Invalid redirect URI error

My Question or Issue I have made a Spotify clone with react integrated with the Spotify Api. The app only has a client side I have deployed the app to netlify. Upon pressing the login button on the homepage, the get request is sent to the API to auth...

  • Visitor
  • My Question or Issue   I have made a Spotify clone with react integrated with the Spotify Api. The app only has a client side I have deployed the app to netlify.   Upon pressing the log...
  • 36 Views
  • 0 replies
  • 0 likes
  • question
  • 36 Views
  • 0 replies
  • 0 likes

Web API 502 error on /me/player/play for a short period after track end

I am currently building a web application that uses the spotify web API and the web playback SDK. Part of this application is a frontend-side playlist (not spotify playlists). For this I react on 'player_state_changed' events to play the next track i...

  • Visitor
  • I am currently building a web application that uses the spotify web API and the web playback SDK. Part of this application is a frontend-side playlist (not spotify playlists). For this I react on 'pl...
  • 43 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 43 Views
  • 0 replies
  • 0 likes

Request failed with status code 404 Playing Tracks

PlanFree/PremiumCountryUSMy Question or Issue I'm working on a streaming application using the Spotify Web Player API. I'm running into an issue where accounts from the UK and Japan (and possibly anywhere outside US) cannot play tracks. If these memb...

  • Newbie
  • Plan Free/Premium Country US My Question or Issue   I'm working on a streaming application using the Spotify Web Player API. I'm running into an issue where accounts from the UK and Japan ...
  • 61 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 61 Views
  • 0 replies
  • 0 likes

[URGENT] Sudden Error 403 When Getting User Top Songs

My application has been running successfully for weeks now, but randomly this morning it began throwing out this error when attempting to pull top songs from authenticated usersHTTP Error for GET to https://api.spotify.com/v1/me/top/tracks with Param...

  • Newbie
  • My application has been running successfully for weeks now, but randomly this morning it began throwing out this error when attempting to pull top songs from authenticated users HTTP Error for ...
  • Hubo
  • Spotify Star
  • 199 Views
  • 2 replies
  • 0 likes
  • Possible Bug
    question
  • 199 Views
  • 2 replies
  • 0 likes

Search API endpoint changed expected response

Hi, I just noticed that the Search endpoint is not returning the same results as of yesterday. For example if I used this query before: ```track:Electric Fling artist:Stefano Breda``` it would respond with like 20 items similar to that search [amongs...

  • Newbie
  • Hi, I just noticed that the Search endpoint is not returning the same results as of yesterday.    For example if I used this query before: ```track:Electric Fling artist:Stefano Bred...
  • 41 Views
  • 0 replies
  • 0 likes
  • Search API
    Search Track
  • 41 Views
  • 0 replies
  • 0 likes

Error 403 when starting playback on Discover Weekly

PlanPremiumCountryUSDeviceHomeAssistant VM initiating playback to Google Home MiniOperating SystemLinux My Question or IssueI have been having an issue with initiating playback of the Discover Weekly Playlist from HomeAssistant. I finally narrowed th...

  • Newbie
  • Plan Premium Country US Device HomeAssistant VM initiating playback to Google Home Mini Operating System Linux   My Question or Issue I have been having an issue with initiating playba...
  • 42 Views
  • 0 replies
  • 0 likes
  • feature request
    Possible Bug
  • 42 Views
  • 0 replies
  • 0 likes

500 Internal Server Error

When I send post-request /playlists/{playlist_id}/tracks via Google Apps Script Platform, occurs 500 or 502 errors with description: something went wrong or bad gateway. My application works correct in 2 years and dont changes in this part. But last ...

  • Newbie
  • When I send post-request  /playlists/{playlist_id}/tracks via  Google Apps Script Platform, occurs 500 or 502 errors with description: something went wrong or bad gateway.   My appli...
  • 464 Views
  • 0 replies
  • 18 likes
  • API Bug
    Error 500
  • 464 Views
  • 0 replies
  • 18 likes

[V1 API Search] q (query) parameter appears to have a limit of 100 characters as of today

PlanAPICountryNLDevice-Operating System- My Question or IssueAs of today the following request wil result in:Query: artist:"Joseph Haydn"+track:"Die Jahreszeiten (The Seasons), Hob.XXI:3: Der Sommer (Summer): Ach! das Ungewitter naht (Chorus)"https:/...

  • Casual Listener
  • Plan API Country NL Device - Operating System -   My Question or Issue As of today the following request wil result in: Query:  artist:"Joseph Haydn"+track:"Die Jahreszeiten (The...
  • 64 Views
  • 0 replies
  • 0 likes
  • api
    API Bug
    Possible Bug
  • 64 Views
  • 0 replies
  • 0 likes

[iOS SDK] SPTAppRemotePlayerAPI.play regression

I believe that there has been a regression in the way that the SPTAppRemotePlayerAPI.play method is handled. Previously it behaved just like the Web API variant, in that invoking it would clear the queue in addition to playing the requested track.As ...

  • Casual Listener
  • I believe that there has been a regression in the way that the SPTAppRemotePlayerAPI.play method is handled.  Previously it behaved just like the Web API variant, in that invoking it would clea...
  • 72 Views
  • 0 replies
  • 0 likes
  • iOS
    Possible Bug
    regression
    SDK
  • 72 Views
  • 0 replies
  • 0 likes

Academic use of the Spotify Web API

I'm a university student. I want to use the data of the Spotify Web API (only audio features and analysis data of the tracks, not user data) for my research and graduation thesis.I don't use this commercially. How do I have to write about the citatio...

  • Newbie
  • I'm a university student. I want to use the data of the Spotify Web API (only audio features and analysis data of the tracks, not user data) for my research and graduation thesis. I don't use this...
  • 77 Views
  • 0 replies
  • 0 likes
  • question
  • 77 Views
  • 0 replies
  • 0 likes

SPTAudioStreamingController throwing "Wrong username or password" when login player with accessToken

Hi, In my iOS application I am login user through SPTSessionManager and saving the given accessToken, refreshToken and expiration date. Later I refresh the access token 5 mins before the expiration. I want to play tracks using SPTAudioStreamingContro...

  • Casual Listener
  • Hi,  In my iOS application I am login user through SPTSessionManager and saving the given accessToken, refreshToken and expiration date. Later I refresh the access token 5 mins before the expir...
  • 83 Views
  • 0 replies
  • 0 likes
  • Developer question integrating spotify in mobile app
    player wont play correctly
  • 83 Views
  • 0 replies
  • 0 likes

What timestamp does played_at for recently played songs refer to?

My Question or IssueDoes the timestamp played_at refer to the time the track started playing, the time it finished playing or other? The documentation for this api call is unfortunately quite incomplete, it doesn't even say what it returns (ok it say...

  • Visitor
  • My Question or Issue Does the timestamp played_at refer to the time the track started playing, the time it finished playing or other?   The documentation for this api call is unfortunately qu...
  • 84 Views
  • 0 replies
  • 0 likes
  • question
  • 84 Views
  • 0 replies
  • 0 likes

How to use API token refresh from my web app (newbie)

Hello, I'm not a pro developer but am skilled enough to be running API calls to collect ISRC codes for tracklists for a community-based online radio station. I've gotten it all working, requesting a token and running queries with it. My confusion is ...

  • Casual Listener
  • Hello, I'm not a pro developer but am skilled enough to be running API calls to collect ISRC codes for tracklists for a community-based online radio station.    I've gotten it all working...
  • 96 Views
  • 0 replies
  • 0 likes
  • question
  • 96 Views
  • 0 replies
  • 0 likes

Getting saved tracks returns inconsistent result for different offsets

PlanPremiumCountryGB DeviceIt's dev APIOperating SystemN/A My Question or IssueLast 2-3 days I started observing a strange behaviour - I'm requesting all the saved tracks for a user and for some of requests the API returns an empty result even though...

  • Casual Listener
  • Plan Premium Country GB   Device It's dev API Operating System N/A   My Question or Issue Last 2-3 days I started observing a strange behaviour - I'm requesting all the saved tra...
  • nicowelles
  • Newbie
  • 102 Views
  • 1 replies
  • 1 likes
  • Possible Bug
  • 102 Views
  • 1 replies
  • 1 likes

API search special characters

Hi, I'm trying to use the web API to search for songs and it seems like when I have some special characters in the search parameters it fails to find any songs. A very simple example of this is:```track:I'll Call You Mine artist:girl in red album:if ...

  • Newbie
  • Hi,   I'm trying to use the web API to search for songs and it seems like when I have some special characters in the search parameters it fails to find any songs.   A very simple exampl...
  • 81 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 81 Views
  • 0 replies
  • 0 likes

API: search endpoing not responding

PlanPremiumCountryChileServiceSpotify Web API My Question or IssueI am trying to retrive search results using https://api.spotify.com/v1/search but it is not responding since this afternoon.

  • Newbie
  • Plan Premium Country Chile Service Spotify Web API   My Question or Issue I am trying to retrive search results using  https://api.spotify.com/v1/search but it is not respo...
  • 83 Views
  • 0 replies
  • 0 likes
  • API Bug
    Possible Bug
  • 83 Views
  • 0 replies
  • 0 likes

API Authorization header doesn't follow HTTP spec

Hi, I've found that the Authorization header doesn't follow the HTTP spec (https://datatracker.ietf.org/doc/html/rfc7235#section-2.1). The spec says the scheme can be case insensitve, however Spotify's API expects it to be case-sensitive, that is, it...

  • Newbie
  • Hi,   I've found that the Authorization header doesn't follow the HTTP spec (https://datatracker.ietf.org/doc/html/rfc7235#section-2.1). The spec says the scheme can be case insensitve, howeve...
  • 98 Views
  • 0 replies
  • 0 likes
  • api authorization
  • 98 Views
  • 0 replies
  • 0 likes