Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Spotify for Developers

Discuss building apps with Spotify APIs and SDKs

Start a topic

Forum Posts

/playlists API Endpoint Issue Fixed

We wanted to provide an update regarding issues identified in the “/playlists” API endpoints. We have investigated the reported concerns of null results appearing in responses and have fixed the behaviour in the “/me/playlists” and “/users/{user_id}/...

  • Spotify
  • Spotify
  • AdrienCompDev
  • Casual Listener
  • 3113 Views
  • 9 replies
  • 2 likes
  • Possible Bug
  • 3113 Views
  • 9 replies
  • 2 likes

Superuser Contribution Search for shows returns an array of null

When querying the search api for shows I am getting a successful response but items is returned as an array of null.Here's my request: url: "https://api.spotify.com/v1/search?q=masters&type=show", method: "get", headers: { Authorization: "Bearer " + ...

  • Visitor
  • When querying the search api for shows I am getting a successful response but items is returned as an array of null. Here's my request:   url: "https://api.spotify.com/v1/search?q=masters&a...
  • goleary
  • Newbie
  • 3995 Views
  • 4 replies
  • 2 likes
  • 3995 Views
  • 4 replies
  • 2 likes

CORS error with authorization endpoint

Hi! I posted a question under this topic already but it seems it's disappeared. I'm trying to build an app that connects to the spotify API and extracts some data. In order to do this I need to use the authorization endpoint to get an authorization c...

  • Casual Listener
  • Hi!   I posted a question under this topic already but it seems it's disappeared.   I'm trying to build an app that connects to the spotify API and extracts some data. In order to do th...
  • 1159 Views
  • 0 replies
  • 4 likes
  • API Bug
    authorization
    CORS
  • 1159 Views
  • 0 replies
  • 4 likes

Multiple Artist ID's connected to one artist

I just recently found out that there can be multiple artist links associated with an artist on Spotify. Here's an example (all of these are JAY-Z's ID's) can input them in https://open.spotify.com/artist/{id} :6jEQFo3iBSyW1f9DVBLknb 2tFblYtXKLTFjvH1s...

  • Newbie
  • I just recently found out that there can be multiple artist links associated with an artist on Spotify. Here's an example (all of these are JAY-Z's ID's) can input them in https://open.spotify.c...
  • 311 Views
  • 0 replies
  • 0 likes
  • 311 Views
  • 0 replies
  • 0 likes

Bug with API Check if Users Follow a Playlist

Hi, I have been trying out the Spotify API via the web console available on the developer website. Specifically, I was trying out the "Check if Users Follow a Playlist" endpoint when I encountered an issue.API ReferenceCheck if Users Follow a Playlis...

  • Visitor
  • Hi, I have been trying out the Spotify API via the web console available on the developer website. Specifically, I was trying out the "Check if Users Follow a Playlist" endpoint when I encountered an...
  • AmirReza86
  • Casual Listener
  • 735 Views
  • 1 replies
  • 3 likes
  • 735 Views
  • 1 replies
  • 3 likes

Get lyrics from genius api

Hi, I am trying to find song lyrics from Spotify via the Genius API. When I use api route /search, sometimes the API can not find the right song because the name of the song contains e.g. remastered 2011.How can I search better or get the song ID to ...

  • Casual Listener
  • Hi, I am trying to find song lyrics from Spotify via the Genius API. When I use api route /search, sometimes the API can not find the right song because the name of the song contains e.g. remastered ...
  • Leo_MAP
  • Visitor
  • 1393 Views
  • 1 replies
  • 1 likes
  • 1393 Views
  • 1 replies
  • 1 likes

Spaces in pagination next url

Hi there,When loading a user library items (albums, playlists, songs), the url to the next page of items includes spaces that can break implementations where these spaces create a malformed url—for example, in Swift, URL(string: next) fails if the sp...

  • Newbie
  • Hi there, When loading a user library items (albums, playlists, songs), the url to the next page of items includes spaces that can break implementations where these spaces create a malformed url—f...
  • 275 Views
  • 0 replies
  • 0 likes
  • 275 Views
  • 0 replies
  • 0 likes

Error with Web Playback SDK - MediaDRMBridge creation failed

Device(Pixel 4a, iPhone 13)Operating System(Android 11, iOS 15) I get an uncaught error when loading the SDK on mobile devices: EMEError: Failed to execute 'createMediaKeys' on 'MediaKeySystemAccess': MediaDrmBridge creation failed This looks to be a...

  • Newbie
  • Device (Pixel 4a, iPhone 13) Operating System (Android 11, iOS 15)   I get an uncaught error when loading the SDK on mobile devices:           EMEError: Faile...
  • 990 Views
  • 0 replies
  • 1 likes
  • 990 Views
  • 0 replies
  • 1 likes

Set Private Session via Web API

It would be nice, to have an endpoint to toggle private session via Web API.

  • Casual Listener
  • It would be nice, to have an endpoint to toggle private session via Web API.
  • 545 Views
  • 0 replies
  • 6 likes
  • Web API
  • 545 Views
  • 0 replies
  • 6 likes

Spotify do not broadcast com.spotify.music.metadatachanged on android 11 api level 30

I'm testing in a Poco X3 pro miui 12.0.2 android 11 the "Device Broadcast Status" is enabledThere is a Intent filter on android manifest filebut it does not work!However in android 8 the same code works fine!PlanFree/PremiumCountryBrazilDevicePoco X3...

  • Casual Listener
  • I'm testing in a Poco X3 pro miui 12.0.2 android 11 the "Device Broadcast Status" is enabled There is a Intent filter on android manifest file but it does not work! However in android 8 the same c...
  • splhead
  • Casual Listener
  • 584 Views
  • 1 replies
  • 0 likes
  • 584 Views
  • 1 replies
  • 0 likes

Survey

Hello,I hope this is the right place to ask, but I’m currently looking for participants for my survey that I’m doing for my master thesis. The research deals with the relationship between agile practices and open source software development. Therefor...

  • Newbie
  • Hello, I hope this is the right place to ask, but I’m currently looking for participants for my survey that I’m doing for my master thesis. The research deals with the relationship between agile pra...
  • 289 Views
  • 0 replies
  • 0 likes
  • 289 Views
  • 0 replies
  • 0 likes

Superuser Contribution Create a playlist

Hi, I’m making a website that creates a recommendation based on selected songs. Now I want to create a playlist without an account. So it would create a link which user would click and play on Spotify. Is this possible or do I need to create a user a...

  • Casual Listener
  • Hi,   I’m making a website that creates a recommendation based on selected songs. Now I want to create a playlist without an account. So it would create a link which user would click and play ...
  • mihanabergoj
  • Casual Listener
  • 625 Views
  • 2 replies
  • 0 likes
  • 625 Views
  • 2 replies
  • 0 likes

Superuser Contribution API - Local Files

Hi Spotify, I'm trying to find out how the local files are stored. How can I move these files (that are in "Local files" within Spotify) to a playlist. In the API I can add songs to a playlist, but there's no description for local files. I'd love to ...

  • Casual Listener
  • Hi Spotify,   I'm trying to find out how the local files are stored. How can I move these files (that are in "Local files" within Spotify) to a playlist. In the API I can add songs to a playli...
  • spotifyjosh
  • Spotify
  • 1354 Views
  • 2 replies
  • 0 likes
  • Developer API
    development
  • 1354 Views
  • 2 replies
  • 0 likes

Can't get Access Token

Plan Free Country Russian Federation Operating System Ubuntu My Question or Issue I am getting "error":"invalid_client" when trying to get Access Tokencurl --location --request POST 'https://accounts.spotify.com/token' \--header 'Content-Type: applic...

  • Newbie
  •   Plan Free Country Russian Federation Operating System Ubuntu   My Question or Issue I am getting "error":"invalid_client" when trying to get Access Token curl --locatio...
  • 634 Views
  • 0 replies
  • 0 likes
  • 634 Views
  • 0 replies
  • 0 likes

Spotify SDK issue

I m trying to user embed Spotify App Remote SDK in my app.When Spotify application was not in login in status, App Remote SDK was not able to redirect to Login in page of Spotify application. Does anyone know how to solve this? Thanks!

  • Casual Listener
  • I m trying to user embed Spotify App Remote SDK in my app. When Spotify application was not in login in status, App Remote SDK was not able to redirect to Login in page of Spotify application. ...
  • Leslielee
  • Casual Listener
  • 554 Views
  • 2 replies
  • 0 likes
  • SDK
  • 554 Views
  • 2 replies
  • 0 likes

Authorization Code Flow - don't want to cache tokens

I am building an app utilizing spotipy and getting a user's top tracks and artists. It is caching the tokens and making it so that my data (or the cached token user's data) is displayed regardless of who logs in. How can I fix this without deleting t...

image.png
  • Casual Listener
  •     I am building an app utilizing spotipy and getting a user's top tracks and artists. It is caching the tokens and making it so that my data (or the cached token user's data) is display...
  • victoriaslocum
  • Newbie
  • 2355 Views
  • 1 replies
  • 0 likes
  • 2355 Views
  • 1 replies
  • 0 likes

Solved!! Unable to get current user's saved tracks with free account (via API)

I try to get the user's saved tracks (See API: https://developer.spotify.com/console/get-current-user-saved-tracks/)When doing so with a premium account, everything works as planned.But when I try it with a free account, i get "HTTP Error 403: Forbid...

  • Regular
  • I try to get the user's saved tracks (See API: https://developer.spotify.com/console/get-current-user-saved-tracks/) When doing so with a premium account, everything works as planned. But when...
  • JackDjTom
  • Regular
  • 1324 Views
  • 2 replies
  • 0 likes
  • 1324 Views
  • 2 replies
  • 0 likes

Solved!! Create Playlist endpoint returning a 403 error

I am using the oauth flow with refresh_token and access_token, with the following scopes: 'user-read-private user-library-read playlist-read-private playlist-modify-private playlist-modify-public playlist-read-collaborative' I was able to successfull...

  • Casual Listener
  • I am using the oauth flow with refresh_token and access_token, with the following scopes:  'user-read-private user-library-read playlist-read-private playlist-modify-private playlist-modify-pu...
  • egoudet
  • Casual Listener
  • 1333 Views
  • 4 replies
  • 0 likes
  • 1333 Views
  • 4 replies
  • 0 likes

Creating an application made for self-hosting

PlanPremiumCountryGermanyDeviceBackendOperating SystemLinux/Windows My Question or IssueHi,I'd like to create an application, which users of the application have to host themself to use it. I plan to develop a kind-of jukebox application. As a party ...

  • Casual Listener
  • Plan Premium Country Germany Device Backend Operating System Linux/Windows   My Question or Issue Hi, I'd like to create an application, which users of the application have to host th...
  • 483 Views
  • 0 replies
  • 0 likes
  • 483 Views
  • 0 replies
  • 0 likes

Possible bug/inconsistency found in the "get album by id" operation

Hello, I am writing this post because I have found a possible bug/inconsistency in the API implementation. By using the endpoint “/v1/markets”, a list of all the available markets is returned. However, when testing the operation “get album by Id”, th...

  • Casual Listener
  • Hello, I am writing this post because I have found a possible bug/inconsistency in the API implementation. By using the endpoint “/v1/markets”, a list of all the available markets is returned. Howeve...
  • juaaloval
  • Casual Listener
  • 595 Views
  • 2 replies
  • 0 likes
  • 595 Views
  • 2 replies
  • 0 likes