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
  • 19610 Views
  • 0 replies
  • 59 likes
  • Discussion
  • 19610 Views
  • 0 replies
  • 59 likes

Authentication for Server Account

Howdy! So I'm in the middle of a potential Spotify project and I've hit a snag I should have expected but didn't. I'm looking to have a bot create playlists on a Spotify account. The initiation of this task will be cron job based, so I'm requiring no...

  • Newbie
  • Howdy!   So I'm in the middle of a potential Spotify project and I've hit a snag I should have expected but didn't. I'm looking to have a bot create playlists on a Spotify account. The initiat...
  • 162 Views
  • 0 replies
  • 0 likes
  • authentication
    authorization
    automation
  • 162 Views
  • 0 replies
  • 0 likes

Solved!! Top artists and tracks endpoint gives a 100% 503 error rate

When using the /me/top endpoints, it always returns a 503 error, even in the developer console. The Spotify desktop app is also broken due to that error:

Netlob_1-1637079660781.png Netlob_0-1637079602473.png
  • Music Fan
  • When using the /me/top endpoints, it always returns a 503 error, even in the developer console. The Spotify desktop app is also broken due to that error:    
  • Netlob
  • Music Fan
  • 1325 Views
  • 9 replies
  • 44 likes
  • Possible Bug
  • 1325 Views
  • 9 replies
  • 44 likes

Keep getting a "'" error when apostrophes are supposed to display in embedded Spotify player

PlanFree/PremiumCountry Device(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating System(iOS 10, Android Oreo, Windows 10,etc.) My Question or IssueHi there,I've been getting an issue with one of my clients where two title tracks that are su...

  • Casual Listener
  • 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 Hi th...
  • rls04
  • Casual Listener
  • 530 Views
  • 7 replies
  • 0 likes
  • Possible Bug
  • 530 Views
  • 7 replies
  • 0 likes

Retrieving "What's new" items via API

Hi all. The "What's New" feature currently available in the mobile app is pretty useful. I like being able to see new songs/albums from followed artists right as they're pushed into Spotify without having to wait for Friday's Release Radar. I curate ...

  • Regular
  • Hi all. The "What's New" feature currently available in the mobile app is pretty useful. I like being able to see new songs/albums from followed artists right as they're pushed into Spotify without h...
  • porazonycreeper
  • Music Fan
  • 343 Views
  • 1 replies
  • 5 likes
  • Feature Request
    question
  • 343 Views
  • 1 replies
  • 5 likes

[iOS] Spotify app crashes when modals are active

PlanPremiumCanada Device(All iPads)Operating System(iOS 13 and above) My Question or IssueCurrently we have implemented login through Spotify SDK version 1.2.2. We have followed the steps in Spotify guide below, to authenticate through your app: http...

  • Newbie
  • Plan Premium Canada   Device (All iPads) Operating System (iOS 13 and above)   My Question or Issue Currently we have implemented login through Spotify SDK version 1.2.2. We have...
  • 120 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 120 Views
  • 0 replies
  • 0 likes

Spotify API - song credits

Hello, I'd love to get songwriter and producer credits through the API. It's important information I need for my app - and since Spotify has one of the best music API out there I was surprised it hasn't been added yet.It seems the subject has been br...

  • Newbie
  • Hello,   I'd love to  get songwriter and producer credits  through the API. It's important information I need for my app - and since Spotify has one of the best music API out there ...
  • 358 Views
  • 0 replies
  • 4 likes
  • Feature Request
  • 358 Views
  • 0 replies
  • 4 likes

[API] Seek to Position Bug/Broken

API Endpoint Example:PUThttps://api.spotify.com/v1/me/player/seek?position_ms= Regardless of the integer given for "position_ms" track seeks to 0. API returns response 204 like normal but will not seek to any position other than 0. -Have tried with/w...

  • Newbie
  • API Endpoint Example: PUT https://api.spotify.com/v1/me/player/seek?position_ms=   Regardless of the integer given for "position_ms" track seeks to 0. API returns response 204 like normal bu...
  • acynorman
  • Casual Listener
  • 530 Views
  • 4 replies
  • 5 likes
  • Possible Bug
  • 530 Views
  • 4 replies
  • 5 likes

Calling "Get User's Currently Playing Track" endpoint returns no data, HTTP 204

PlanPremiumCountryUKOperating SystemWindows 10 My Question or IssueWhen calling the "Get User's Currently Playing Track" endpoint when you haven't played a track recently (after like 10-15 mins), it doesn't return any data at all. The same happens on...

  • Newbie
  • Plan Premium Country UK Operating System Windows 10   My Question or Issue When calling the "Get User's Currently Playing Track" endpoint when you haven't played a track recently (a...
  • zanyrossie
  • Casual Listener
  • 452 Views
  • 1 replies
  • 4 likes
  • Possible Bug
  • 452 Views
  • 1 replies
  • 4 likes

Solved!! Unable to refresh token with PKCE flow

I'm using the PKCE flow in my SPA.The initial authorization call works fine, with the following body parameters :code: AQC...redirect_uri: http://localhost:3000/myappgrant_type: authorization_codecode_verifier: DHo4...client_id: f50...Spotify returns...

  • Casual Listener
  • I'm using the PKCE flow in my SPA. The initial authorization call works fine, with the following body parameters : code: AQC... redirect_uri: http://localhost:3000/myapp grant_type: a...
  • Neumann_
  • Casual Listener
  • 344 Views
  • 1 replies
  • 0 likes
  • OAuth
    oAuth2
    PKCE
  • 344 Views
  • 1 replies
  • 0 likes

Object model documentation link broken

On the main Web API documentation page, under Responses, there's a link to the Object Model documentation, but it isn't working. Can this be looked at please?

  • Newbie
  •   On the main Web API documentation page, under Responses, there's a link to the Object Model documentation, but it isn't working.   Can this be looked at please?
  • 118 Views
  • 0 replies
  • 1 likes
  • Discussion
  • 118 Views
  • 0 replies
  • 1 likes

Device Playback Error

PlanPremiumCountryUKDeviceRedmi Notebook 9 Pro and Samsung S20 Operating SystemAndroid My Question or IssueHello - I have an issue where the playback device changes when trying to use Spotify in car via a Bluetooth connection and running Google maps ...

  • Newbie
  • Plan Premium Country UK Device Redmi Notebook 9 Pro and Samsung S20  Operating System Android   My Question or Issue Hello - I have an issue where the playback device changes when...
  • 151 Views
  • 0 replies
  • 0 likes
  • Spotify Bluetooth Car
  • 151 Views
  • 0 replies
  • 0 likes

Solved!! Move Specific Track to Top of Playlist by URI

Hello. It looks like the PUT playlists/{playlistid}/tracks endpoint (https://developer.spotify.com/documentation/web-api/reference/#/operations/reorder-or-replace-playlists-tracks) only lets you move a track if you know its position already, is that ...

  • Regular
  • Hello.  It looks like  the PUT playlists/{playlistid}/tracks endpoint ( https://developer.spotify.com/documentation/web-api/reference/#/operations/reorder-or-replace-playlists-tracks ) o...
  • cyganex
  • Casual Listener
  • 445 Views
  • 4 replies
  • 0 likes
  • question
  • 445 Views
  • 4 replies
  • 0 likes

Spotifyr and Shiny

Is it possible to create a shiny app using the spotifyr package and then let users connect to the spotify API after publishing it? In rstudio, get_spotify_authorization_code() redirects me to the login page for authentication but publishing the app j...

  • Newbie
  • Is it possible to create a shiny app using the spotifyr package and then let users connect to the spotify API after publishing it? In rstudio, get_spotify_authorization_code() redirects me to the log...
  • velshnia
  • Newbie
  • 534 Views
  • 1 replies
  • 3 likes
  • question
  • 534 Views
  • 1 replies
  • 3 likes

Spotify Api effect on iFrame with premium account

My Question or IssueI found iFrame volume is too high and i wants to change it but not finding any solution / iFrame don't have that functionality. while searching i found that the spotify api can set the volume of premium account. and code given bel...

  • Casual Listener
  • My Question or Issue I found iFrame volume is too high and i wants to change it but not finding any solution / iFrame don't have that functionality. while searching i found that the spotify api can ...
  • 139 Views
  • 0 replies
  • 0 likes
  • question
  • 139 Views
  • 0 replies
  • 0 likes

Embed widget color

PlanPremiumCountryRomaniaDeviceDesktopOperating SystemWindows 10 My Question or IssueIs there any way to use a custom background color for the embed widget or are we limited to the 2 options displayed when creating the code?

  • Casual Listener
  • Plan Premium Country Romania Device Desktop Operating System Windows 10   My Question or Issue Is there any way to use a custom background color for the embed widget or are we limited ...
  • 319 Views
  • 0 replies
  • 0 likes
  • color
    embed
    Widget
  • 319 Views
  • 0 replies
  • 0 likes

Tracks played via playlists missing from stats

HelloSo I'm trying to test out how the songs I listen to come out in my "listening stats". There's a few playlists that I frequently listen to a lot, to the point I hardly listen to anything else of my own selection and yet the songs that these lists...

  • Newbie
  • Hello So I'm trying to test out how the songs I listen to come out in my "listening stats". There's a few playlists that I frequently listen to a lot, to the point I hardly listen to anything else o...
  • 124 Views
  • 0 replies
  • 0 likes
  • Possible Bug
  • 124 Views
  • 0 replies
  • 0 likes

Developer docs console redirects to non existing, old documentation

Hi,When clicking on 'API Reference', for example in https://developer.spotify.com/console/get-album-tracks/the link points to the page of old documentation that don't exist anymore and user is getting redirected to https://developer.spotify.com/docum...

  • Newbie
  • Hi, When clicking on 'API Reference', for example in https://developer.spotify.com/console/get-album-tracks/ the link points to the page of old documentation that don't exist anymore and user ...
  • 131 Views
  • 0 replies
  • 1 likes
  • bug
  • 131 Views
  • 0 replies
  • 1 likes

Legal rights

Hello!Hope you are doing well.My name is Igor.I have one question. Recently I’ve started YouTube channel on WEB Development - https://www.youtube.com/channel/UCXkcYikLC-TwF_H373bECFQ where I mainly develop clones of popular web apps. One of such apps...

  • Newbie
  • Hello! Hope you are doing well. My name is Igor. I have one question. Recently I’ve started YouTube channel on WEB Development - https://www.youtube.com/channel/UCXkcYikLC-TwF_H373bECFQ wh...
  • 173 Views
  • 0 replies
  • 0 likes
  • legal rights
  • 173 Views
  • 0 replies
  • 0 likes

Can I write a bot that streams my Spotify playlist in a Discord channel?

PlanPremiumCountryHungaryDeviceWebOperating SystemSDKMy Question or Issue Hi there! I'd like to write a Discord bot that can join a voice channel and stream music using my Spotify Premium account. Am I legally allowed to do this? If not am I legally ...

  • Casual Listener
  • Plan Premium Country Hungary Device Web Operating System SDK My Question or Issue   Hi there!   I'd like to write a Discord bot that can join a voice channel and stream music us...
  • Hubo
  • Community Legend
  • 743 Views
  • 2 replies
  • 0 likes
  • Discord
    SDK
    streaming
  • 743 Views
  • 2 replies
  • 0 likes