Announcements

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

In the spotify embedded player on the website, some songs are unavailable from yesterday.

PlanFree/PremiumCountryPolandDeviceSamsung Galaxy S9Operating SystemWindows 10 My Question or IssueIn the spotify embedded player on the website, some songs are unavailable from yesterday. The message "song not available in your country" is displayed...

  • Casual Listener
  • Plan Free/Premium Country Poland Device Samsung Galaxy S9 Operating System Windows 10   My Question or Issue In the spotify embedded player on the website, some songs are unavailable f...
  • ChrisBignamini
  • Newbie
  • 713 Views
  • 3 replies
  • 0 likes
  • Possible Bug
  • 713 Views
  • 3 replies
  • 0 likes

Solved!! /me/top/{type} endpoint returning 403

I've authenticated with oauth implicit and have user-top-read in my scopes for my flow. The access token that I get will let me read my profile, but not read from the /me/top/{type} endpoint. This is true for fetch or the web console. Any insight wou...

  • Casual Listener
  • I've authenticated with oauth implicit and have user-top-read in my scopes for my flow.   The access token that I get will let me read my profile, but not read from the /me/top/{type} endpoint...
  • hjfitz
  • Casual Listener
  • 325 Views
  • 1 replies
  • 0 likes
  • Possible Bug
  • 325 Views
  • 1 replies
  • 0 likes

Searching for podcasts not returning results

Hi, thanks again for these new podcast api endpoints! I'm having an issue using the web api to search for podcasts. When I use an access_token from the client_credentials flow, I'm not getting any results. However, when using the tool on spotify deve...

  • Regular
  • Hi, thanks again for these new podcast api endpoints!   I'm having an issue using the web api to search for podcasts. When I use an access_token from the client_credentials flow, I'm not getti...
  • forcequit
  • Visitor
  • 1325 Views
  • 13 replies
  • 1 likes
  • podcast search
    Possible Bug
  • 1325 Views
  • 13 replies
  • 1 likes

Wrong songs are playing from premium account using Spotify SDK

Hello Team, We have some technical problems with Premium accounts. We are pulling all songs of a particular playlist into our database and in the mobile app, we are showing a list of songs to play. When we play a song in the free account then correct...

  • Newbie
  • Hello Team,   We have some technical problems with Premium accounts. We are pulling all songs of a particular playlist into our database and in the mobile app, we are showing a list of songs t...
  • 404 Views
  • 0 replies
  • 0 likes
  • issue
    Possible Bug
  • 404 Views
  • 0 replies
  • 0 likes

Solved!! Chaning tracks using Python

HiI am writing a program and I want to be able to change the playback to the next or previous track in the playlist or queue. Is there a way to do so? I am using spotipy but I am not sure if it will allow me to change the current track. So i just wan...

  • Casual Listener
  • Hi I am writing a program and I want to be able to change the playback to the next or previous track in the playlist or queue. Is there a way to do so? I am using spotipy but I am not sure if it wil...
  • Geodude1812
  • Casual Listener
  • 547 Views
  • 1 replies
  • 0 likes
  • Discussion
    question
  • 547 Views
  • 1 replies
  • 0 likes

Clearer Documentation on Playlist Track Object with Null Track Field

So, I ran into a nasty bug that took me several hours to fix until I finally realized that the track field of playlist tracks can be null when the track cannot be played. Is there any plans for clearer documentation on this? I know it is said in the ...

  • Newbie
  • So, I ran into a nasty bug that took me several hours to fix until I finally realized that the track field of playlist tracks can be null when the track cannot be played. Is there any plans for clear...
  • 290 Views
  • 0 replies
  • 3 likes
  • Documentation Change
    Feature Improvement
    Playlist Items
  • 290 Views
  • 0 replies
  • 3 likes

Spotify PKCE Auth Invalid Client Secret

Check StackOverflow for full code I need to complete Authorization Code Flow with Proof Key for Code Exchange. In step 4, I get an error 400 - bad request. I can't understand what problem is. {"error":"invalid_request","error_description":"Invalid cl...

  • Music Fan
  • Check StackOverflow for full code   I need to complete  Authorization Code Flow with Proof Key for Code Exchange . In step 4, I get an error  400 - bad request . I can't unders...
  • ktuli44
  • Music Fan
  • 581 Views
  • 1 replies
  • 1 likes
  • Discussion
    question
  • 581 Views
  • 1 replies
  • 1 likes

Uncaught TypeError: Cannot read property 'togglePlay' of null

I am using the Spotify Playback SDK on my local site. This is my code:window.onSpotifyWebPlaybackSDKReady = () => { const token = ""; const player = new Spotify.Player({ name: 'Spotify Clone', getOAuthToken: cb => { cb(token); } }); window.player = p...

  • Newbie
  • I am using the Spotify Playback SDK on my local site. This is my code: window . onSpotifyWebPlaybackSDKReady = () => { const token = " <?php echo $_SESSION [ "accessToken" ] ...
  • 434 Views
  • 0 replies
  • 0 likes
  • Playback SDK
    Possible Bug
  • 434 Views
  • 0 replies
  • 0 likes

503 Errors on /v1/audio-analysis in Europe

CountryEurope My Question or IssueIn Europe, almost all requests sent to /v1/audio-analysis return a 503 Error. When a request eventually succeeds, it takes about 3-4s to receive the response.

  • Regular
  • Country Europe   My Question or Issue In Europe, almost all requests sent to /v1/audio-analysis return a 503 Error. When a request eventually succeeds, it takes about 3-4s to receive the res...
  • Tinouga
  • Regular
  • 538 Views
  • 8 replies
  • 1 likes
  • Possible Bug
  • 538 Views
  • 8 replies
  • 1 likes

403 "unkown" when sending PUT request to pause player

When I am sending a PUT to: https://api.spotify.com/v1/me/player/play with a valid user token that has the `user-modify-playback-state` scope, it returns a code 403 with message: {"error" : {"status" : 403,"message" : "Player command failed: Restrict...

  • Casual Listener
  • When I am sending a PUT to: https://api.spotify.com/v1/me/player/play with a valid user token that has the ` user-modify-playback-state` scope, it returns a code 403 with message:   ...
  • simplenoteasy
  • Casual Listener
  • 1598 Views
  • 1 replies
  • 1 likes
  • Possible Bug
    question
  • 1598 Views
  • 1 replies
  • 1 likes

Playlist Covers Won't Change

PlanStudent PremiumCountryUSA DeviceMacbook Pro 2017Operating SystemMac OS Catalina 10.15.6My Question or IssueEvery time I go to change my playlist cover it says that it has failed to save changes. All of the covers I am trying to change are photos ...

  • Visitor
  • Plan Student Premium Country USA   Device Macbook Pro 2017 Operating System Mac OS Catalina 10.15.6 My Question or Issue Every time I go to change my playlist cover it says that it has...
  • 192 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 192 Views
  • 0 replies
  • 0 likes

(Solved)

My issue is solved.

  • Casual Listener
  • My issue is solved.
  • 238 Views
  • 0 replies
  • 0 likes
  • api
    Error
    question
  • 238 Views
  • 0 replies
  • 0 likes

API rate limits -- per APP or per account

Hi friends. Can someone tell me if rate limits are applied per app or are they aggregated across all apps registered to a single account? Thanks.

  • Music Fan
  • Hi friends.   Can someone tell me if rate limits are applied per app or are they aggregated across all apps registered to a single account?   Thanks.
  • Hubo
  • Spotify Star
  • 372 Views
  • 1 replies
  • 0 likes
  • question
  • 372 Views
  • 1 replies
  • 0 likes

Spotify Marketing API

Argentina Hello Spotify team. I would like to know if you plan to create a marketing API for campaign management, metrics etc. Similar to facebook and google marketing APIs.

  • Visitor
  • Argentina   Hello Spotify team. I would like to know if you plan to create a marketing API for campaign management, metrics etc. Similar to facebook and google marketing APIs.   
  • Hubo
  • Spotify Star
  • 482 Views
  • 1 replies
  • 0 likes
  • question
  • 482 Views
  • 1 replies
  • 0 likes

Solved!! Regarding play music

I am trying to build an mobile application which can use Spotify APIs and play music (Not remote control app) just like Spotify. So far I've implemented authentication, getting playlists and tracks using web APIs. Now I can not see any API which can ...

  • Casual Listener
  • I am trying to build an mobile application which can use Spotify APIs and play music (Not remote control app) just like Spotify. So far I've implemented authentication, getting playlists and tracks u...
  • Hubo
  • Spotify Star
  • 469 Views
  • 1 replies
  • 0 likes
  • Android
    PLAYBACK QUEUE STOP
  • 469 Views
  • 1 replies
  • 0 likes

503 Error

Just started getting a 503 Error around 12:25 EST with the https://accounts.spotify.com/api/token endpoint.

  • Visitor
  • Just started getting a 503 Error around 12:25 EST with the  https://accounts.spotify.com/api/token endpoint.
  • Netlob
  • Music Fan
  • 506 Views
  • 3 replies
  • 3 likes
  • Possible Bug
  • 506 Views
  • 3 replies
  • 3 likes

What is SPTAppRemotePlayerState.playbackPosition?

iOS I thought this would be the number of milliseconds that have played in the current track, but the value is much too small for that. What is it's significance? Also, this forum software hoy garbage. Earlier I tried to submit my question and the we...

  • Regular
  • iOS   I thought this would be the number of milliseconds that have played in the current track, but the value is much too small for that. What is it's significance?   Also, this forum s...
  • 208 Views
  • 0 replies
  • 0 likes
  • iOS
  • 208 Views
  • 0 replies
  • 0 likes

Search Web API with special characters in artist/track fields

Hello, I'm experiencing inconsistent and incorrect behavior in the search API when using some characters in the artist or track fields. For example, using the following query as is:"The Beatles Don't Let me Down"The API correctly returns the expected...

  • Casual Listener
  • Hello,   I'm experiencing inconsistent and incorrect behavior in the search API when using some characters in the artist or track fields.   For example, using the following query as is:...
  • 308 Views
  • 0 replies
  • 0 likes
  • Possible Bug
    question
  • 308 Views
  • 0 replies
  • 0 likes

Is commercial approval needed for non-streaming apps?

I'm developing an app that uses Spotify that I'd like to commercialize. Per the definitions laid out on https://developer.spotify.com/terms, it would be qualified as a non-streaming SDA, as its only commercial uses are ads and a premium subscription ...

  • Regular
  • I'm developing an app that uses Spotify that I'd like to commercialize. Per the definitions laid out on   https://developer.spotify.com/terms, it would be qualified as a non-streaming SDA, as it...
  • 470 Views
  • 0 replies
  • 4 likes
  • Commercial
  • 470 Views
  • 0 replies
  • 4 likes

[Web API] Bug: 403 Response with empty body instead of Error Object

Observed behavior:As expected, a GET request to the endpoint at https://api.spotify.com/v1/me/top/artistsreceives an HTTP 403 response when the Token in use does not have the necessary Scope (i.e., lacking 'user-top-read' scope)However, the body of t...

  • Newbie
  • Observed behavior: As expected, a GET request to the endpoint at  https://api.spotify.com/v1/me/top/artists receives an HTTP 403 response when the Token in use does not have the necessary Sc...
  • 470 Views
  • 0 replies
  • 4 likes
  • Possible Bug
  • 470 Views
  • 0 replies
  • 4 likes

Env: prod