Announcements

Help Wizard

Step 1

NEXT STEP

Spotify for Developers

Discuss building apps with Spotify APIs and SDKs

Start a topic

Updating the Criteria for Web API Extended Access

Hey, I created this thread to get your feedback on our blog post around changes to the Web API extended access criteria, which will take place on May 15th. Please share any of your thoughts on this change in the comments below. All of your feedback w...

Spotify

stefanbathman

Casual Listener

45159 Views

153 replies

17 likes

Discussion
  • 45159 Views
  • 153 replies
  • 17 likes

CreatePlaylist starting returning a 200 instead of 201 for successful results!

CreatePlaylist starting returning a 200 instead of 201 for successful results! This broke my application since I was looking for a 201.

Gig Goer

CreatePlaylist starting returning a 200 instead of 201 for successful results!  This broke my application since I was looking for a 201.    

NimrodYizhar

Casual Listener

497 Views

3 replies

1 likes

Possible Bug
  • 497 Views
  • 3 replies
  • 1 likes

Podcast only for external website subscribers

Hello, I would like to recreate the same experience of podcasts accessible only to subscribers of my website that can be seen here: https://open.spotify.com/show/6GSnbFz5qzNuKnLmGzQbPc (Making Sense with Sam Harris - Subscriber Content). On Spotify a...

Visitor

Hello, I would like to recreate the same experience of podcasts accessible only to subscribers of my website that can be seen here: https://open.spotify.com/show/6GSnbFz5qzNuKnLmGzQbPc (Making Sense ...

354 Views

0 replies

0 likes

podcast
subscribers
  • 354 Views
  • 0 replies
  • 0 likes

Cool uses of the Spotify API

Hi! I didn't see a place where people are sharing the cool stuff they're able to do with the API? Thought it could be fun to have a place for this?

Regular

Hi! I didn't see a place where people are sharing the cool stuff they're able to do with the API? Thought it could be fun to have a place for this? 

morgan_wills

Regular

929 Views

1 replies

1 likes

Discussion
  • 929 Views
  • 1 replies
  • 1 likes

Solved!! HTTPError: 403 Client Error: Forbidden for url: /tracks?position=0

My Python script that uses Spotipy stopped working yesterday after working fine for months.The full error message is... HTTP Error for POST to https://api.spotify.com/v1/playlists//tracks with Params: {'position': 0} returned 403 due to Insufficient ...

Casual Listener

My Python script that uses Spotipy stopped working yesterday after working fine for months. The full error message is...   HTTP Error for POST to https://api.spotify.com/v1/playlists/<PL...

Lkole

Regular

1630 Views

3 replies

1 likes

403 Insufficient client scope
Spotipy
  • 1630 Views
  • 3 replies
  • 1 likes

/me/top/tracks endpoint returns album_type of EP, SINGLE, ALBUM

Using the Web API, I'm finding that when you ask for user's top items and specifying tracks, each track has an album_type of either "EP" or "SINGLE" or "ALBUM". This goes against what is documented — and found with other endpoints — of "album", "sing...

Casual Listener

Using the Web API, I'm finding that when you ask for user's top items and specifying tracks, each track has an album_type of either "EP" or "SINGLE" or "ALBUM".   This goes against what is docum...

233 Views

0 replies

0 likes

Possible Bug
  • 233 Views
  • 0 replies
  • 0 likes

Embed not working

Got an issue embedding this? Embed renders but play button does nothing and spins? Other podcasts embedded same way work? Any ideas?

Visitor

Got an issue embedding this?   Embed renders but play button does nothing and spins? Other podcasts embedded same way work?   <iframe style="border-radius:12px" src="https://open.spo...

535 Views

0 replies

0 likes

iFrame API
Podcast API
  • 535 Views
  • 0 replies
  • 0 likes

[Web API] Adding tracks to a public playlist requires playlist-modify-private scope

Hello everyone ! My use case :Via the Spotify Web API, I want to create a public playlist and add tracks to it.My implementation :I setup a spotify auth flow that requires the playlist-modify-public scope.Then when I get the auth token I create the p...

Casual Listener

Hello everyone !    My use case : Via the Spotify Web API, I want to create a public playlist and add tracks to it. My implementation : I setup a spotify auth flow that requires ...

blackarcanis

Roadie

6789 Views

34 replies

5 likes

Possible Bug
  • 6789 Views
  • 34 replies
  • 5 likes

Add Tracks to Playlist Changed ; No URIs Provided error

Did the API change the functionality of adding tracks to a playlist? I have my code load in TrackIds and use them to add tracks to a playlist but just today I got an error saying that I did not provide any URIs. Did something change in the backend th...

Regular

Did the API change the functionality of adding tracks to a playlist? I have my code load in TrackIds and use them to add tracks to a playlist but just today I got an error saying that I did not provi...

AliAnderson

Visitor

3379 Views

11 replies

2 likes

API Bug
API Help
  • 3379 Views
  • 11 replies
  • 2 likes

Solved!! duration_ms suddenly returning float instead of int

Suddenly, the api.spotify.com/v1/tracks/{id} endpoint has started giving me track duration_ms as a float e.g."duration_ms": 2345.0,The endpoint always used to return an int, which matches the documentation. Weirdly the response from the "try it" resp...

Roadie

Suddenly, the api.spotify.com/v1/tracks/{id} endpoint has started giving me track duration_ms as a float e.g. "duration_ms": 2345.0, The endpoint always used to return an int, which matches the doc...

ficvebanger

Regular

3554 Views

23 replies

28 likes

Possible Bug
  • 3554 Views
  • 23 replies
  • 28 likes

Getting http 403 after calling API

Our app has Spotify playlist fetching integration for quite some time (since 2020) working without any problems, however starting from about two to three weeks ago, we have been getting 403 errors. We had previously used a different email address but...

Visitor

Our app has Spotify playlist fetching integration for quite some time (since 2020) working without any problems, however starting from about two to three weeks ago, we have been getting 403 errors. W...

379 Views

0 replies

0 likes

403
error
forbidden
playlist fetching
  • 379 Views
  • 0 replies
  • 0 likes

App that creates Playlists from your iMessage chats - AutoSpoto

PlanFree/PremiumCountry DeviceMacBookOperating System(iOS) My Question or IssueLooking for feedback on our app that creates Spotify playlists out of your iMessage chats. Available free to download on the Mac App Store, named AutoSpoto: https://apple....

Casual Listener

  Plan Free/Premium Country   Device MacBook Operating System (iOS)   My Question or Issue Looking for feedback on our app that creates Spotify playlists out of your iMessag...

173 Views

0 replies

0 likes

Discussion
Feature Request
Question
  • 173 Views
  • 0 replies
  • 0 likes

No shuffle button

PlanPremiumCountryUnited KingdomDevice(iPhone 11)Operating SystemMy Question or Issuejust got premium duo and no shuffle button and have tried un downloading and reinstalling

Newbie

Plan Premium Country United Kingdom Device (iPhone 11) Operating System My Question or Issue just got premium duo and no shuffle button  and have tried un downloading and reinstalling ...

159 Views

0 replies

0 likes

Possible Bug
  • 159 Views
  • 0 replies
  • 0 likes

OAuth2 PKCE Token Exchange failed error

Hi, I have managed to successfully authenticate users via OAuth2 PKCE. I have added the list of test users via the developer dashboard as well.Sometimes I get the 'token exchange failed' error, even while trying to authenticate a user who has been ad...

Casual Listener

Hi,  I have managed to successfully authenticate users via OAuth2 PKCE. I have added the list of test users via the developer dashboard as well. Sometimes I get the 'token exchange failed' err...

551 Views

0 replies

0 likes

Question
  • 551 Views
  • 0 replies
  • 0 likes

Can't play music on Chrome Browser.

Can't play music on Chrome Browser. Try to delete history, caches, cookies and then refresh website but does not work

Visitor

Can't play music on Chrome Browser. Try to delete history, caches, cookies and then refresh website but does not work

142 Views

0 replies

0 likes

  • 142 Views
  • 0 replies
  • 0 likes

I can have data on artists who are female or LGBTQIA

I would like to have access to a filter so that I can have data on artists who are female or LGBTQIA from a certain genre of music.

Newbie

I would like to have access to a filter so that I can have data on artists who are female or LGBTQIA from a certain genre of music.

239 Views

0 replies

0 likes

Content filters
Female Artists
LGBTQIA
  • 239 Views
  • 0 replies
  • 0 likes

API 403: Player command failed: Premium required

Have used premium account credential in spotify web api and used "Authorization code" flow to get access token. I can able to access profile detail by using the token but when trying to play the song by episode uri in this link "https://api.spotify.c...

Newbie

Have used premium account credential in spotify web api and used "Authorization code" flow to get access token. I can able to access profile detail by using the token but when trying to play the song...

Ximzend

Spotify Star

441 Views

1 replies

0 likes

Question
  • 441 Views
  • 1 replies
  • 0 likes

Academic Use of Spotify Data for PhD Research

Hello, I’m a PhD student researching popularity in music and have used Spotify Web API in the past for my work.Currently, the developer T&C prohibit the training of ML and AI models on Spotify content, including audio features & metadata. Could anyon...

Casual Listener

Hello,  I’m a PhD student researching popularity in music and have used Spotify Web API in the past for my work. Currently, the developer T&C prohibit the training of ML and AI models on S...

hatimqr

Newbie

3025 Views

9 replies

0 likes

Spotify Web API
  • 3025 Views
  • 9 replies
  • 0 likes

Spotify embed previews in chrome/android, but full episodes in firefox

PlanPremium CountryBelgium DeviceChrome/Edge and Firefox Operating SystemWindows 11/Android My Question or IssueWhen embedding a Spotify podcast episode it will only show the first 30 seconds on android/chrome/edge. In firefox I can listen to the ful...

Newbie

Plan Premium   Country Belgium   Device Chrome/Edge and Firefox   Operating System Windows 11/Android   My Question or Issue When embedding a Spotify podcast episode ...

260 Views

0 replies

0 likes

Possible Bug
  • 260 Views
  • 0 replies
  • 0 likes

Issue with pagination in "Get Artist's Albums" endpoint

PlanFreeCountryGreeceOperating System(Windows 10) My Question or IssueI try to consume the "Get Artist's Albums" endpoint but I face an issue when trying to implment pagination. When I try to make a request using the parameter "include_groups" either...

Newbie

Plan Free Country Greece Operating System (Windows 10)   My Question or Issue I try to consume the "Get Artist's Albums" endpoint but I face an issue when trying to implment pagination. ...

421 Views

0 replies

0 likes

API Endpoint
pagination
Possible Bug
spotify api
Spotify Web API
Web API
  • 421 Views
  • 0 replies
  • 0 likes

Providing Client Credentials' Access Token to Mobile App

I am building an mobile app that will allow users to search for songs on Spotify. Since I won't require the user to have a Spotify account, I'll need to use Client Credentials on a server. Is it appropriate to return the generated access token to the...

Newbie

I am building an mobile app that will allow users to search for songs on Spotify. Since I won't require the user to have a Spotify account, I'll need to use Client Credentials on a server.   I...

275 Views

0 replies

0 likes

Client credentials
  • 275 Views
  • 0 replies
  • 0 likes