Announcements

Help Wizard

Step 1

NEXT STEP

Spotify for Developers

Discuss building apps with Spotify APIs and SDKs

Start a topic

Refresh token expiration: discussion thread

Hey everyone, I've created this thread to provide more insight on an upcoming change to how refresh tokens work for apps on the Spotify Web API. We've shared a blog post that explains what's changing and why. The short version: refresh tokens will no...

Spotify

thomk

Casual Listener

2458 Views

11 replies

2 likes

Discussion
  • 2458 Views
  • 11 replies
  • 2 likes

February 2026 Spotify for Developers update: thread

Hey everyone, I’ve created this thread to provide an open space for discussion, feedback, concerns or ideas on an upcoming update to Spotify for Developers access. We’ve shared a blog post that explains what’s changing and why. Please use this thread...

Spotify

musicD4RKH3LM3T

Regular

101344 Views

355 replies

32 likes

S4D
  • 101344 Views
  • 355 replies
  • 32 likes

Solved!! Currently playing episode

Hey there, This post is requesting access to "currently playing episode" through the Spotify Web API, either through the "Get Playback State" endpoint (/me/player) or the "Get Currently Playing Track" endpoint (ideally both). It seems that podcasts a...

Casual Listener

Hey there,   This post is requesting access to "currently playing episode" through the Spotify Web API, either through the "Get Playback State" endpoint (/me/player) or the "Get Currently Play...

Peter_Schorn

Roadie

1930 Views

5 replies

1 likes

Podcast API
Web API
Web Playback API
  • 1930 Views
  • 5 replies
  • 1 likes

Integration fail with UserNotAuthorizedException error on Android

I have integrated on Android Platform like quick sample on document,But I got the "com.spotify.android.appremote.api.error.UserNotAuthorizedException: {"message":"Explicit user authorization is required to use Spotify. The user has to complete the au...

Casual Listener

I have integrated on Android Platform like quick sample on document,But I got the "com.spotify.android.appremote.api.error.UserNotAuthorizedException: {"message":"Explicit user authorization is requi...

691 Views

0 replies

0 likes

Connect
  • 691 Views
  • 0 replies
  • 0 likes

Extended Streaming History with incorrect data

PlanPremiumCountryFranceDeviceAsus ZenFoneOperating SystemAndroid OS 11 API 30 My Question or IssueI download my extended streaming history to train myself on data analyse and to make my own Spotify recap + my average use of the app during the last 2...

Casual Listener

Plan Premium Country France Device Asus ZenFone Operating System Android OS 11 API 30   My Question or Issue I download my extended streaming history to train myself on data analyse an...

Eliottous

Casual Listener

1826 Views

2 replies

1 likes

  • 1826 Views
  • 2 replies
  • 1 likes

'Get Recently Played Tracks' doesn't return skipped tracks

When I try to call the 'Get recently played tracks' function, the output doesn't include songs that have been played > 30s but not to the end/songs that have been manually skipped; only songs that have been fully played and not manually skipped are i...

Newbie

When I try to call the 'Get recently played tracks' function, the output doesn't include songs that have been played > 30s but not to the end/songs that have been manually skipped; only songs that...

xinyu0000

Newbie

833 Views

1 replies

1 likes

  • 833 Views
  • 1 replies
  • 1 likes

Check if current song is in the user's liked songs

Is there a way to get if the user has liked the currently played song or not via the API?

Casual Listener

Is there a way to get if the user has liked the currently played song or not via the API?

codeIMperfect1

Casual Listener

823 Views

2 replies

0 likes

  • 823 Views
  • 2 replies
  • 0 likes

Get the access token without user having to enter credentials

Is there a possibility to get the access token to a users account through the Spotify SDK without the user having to log in in a web view? It's very tedious for users because they often don't know their Spotify credentials. They are already logged in...

Newbie

Is there a possibility to get the access token to a users account through the Spotify SDK without the user having to log in in a web view? It's very tedious for users because they often don't know th...

484 Views

0 replies

0 likes

  • 484 Views
  • 0 replies
  • 0 likes

Solved!! How to generate a spotify code using web api?

Hi guys so I saw this https://www.spotifycodes.com/ and notice that it uses a URI to generate a spotify code, I'm using the Spotify WEB API an can get the URI using fetch but is it possible to generate a spotify code using WEB API?

Casual Listener

Hi guys so I saw this https://www.spotifycodes.com/ and notice that it uses a URI to generate a spotify code, I'm using the Spotify WEB API an can get the URI using fetch but is it possible...

nakunaru

Casual Listener

8762 Views

4 replies

1 likes

  • 8762 Views
  • 4 replies
  • 1 likes

Can a track's artists be different than the artists of the album?

PlanFree Web API My Question or IssueGoing trough the web API. It can be seen that an album can be created by many artists, like in a colab between them. And when getting tracks from the API. The also have associated with them, apart from the album t...

Visitor

Plan Free   Web API   My Question or Issue Going trough the web API. It can be seen that an album can be created by many artists, like in a colab between them. And when getting tracks...

Ximzend

Spotify Star

499 Views

1 replies

0 likes

  • 499 Views
  • 1 replies
  • 0 likes

[Android] cant connect when integration

I had integration with Spotify SDK like quickstart document.But I get the ACCOUNTS_INVALID_APP_ID:INVALID_REQUEST error when connect call SpotifyAppRemote.connect()So, how can to fix it?Client ID:978be86fb04440f3ba88e946045c0bccDevice(iPhone 8, Samsu...

Casual Listener

I had integration with Spotify SDK like quickstart document.But I get the ACCOUNTS_INVALID_APP_ID:INVALID_REQUEST error when connect call SpotifyAppRemote.connect() So, how can to fix it? Clie...

ndthong1994

Casual Listener

554 Views

1 replies

0 likes

Connect
  • 554 Views
  • 1 replies
  • 0 likes

Get API response JSON-Schemas?

Hello, can somebody maybe tell me where I can find the response schemas for the recently-listened and song-attributes GET Request of the Api request. If somebody has these saved, it would be very appreciated if you could send it to me. Best regards a...

Newbie

Hello, can somebody maybe tell me where I can find the response schemas for the recently-listened and song-attributes GET Request of the Api request.    If somebody has these saved, it wo...

671 Views

0 replies

1 likes

api
Json
Schemas
  • 671 Views
  • 0 replies
  • 1 likes

I have played the track using play URI, song play succeed and after 2-3 seconds automatic song stop.

I am facing an issue when using rn-Spotify-SDK, I’ve been trying to debug this issue for the past couple of days but didn't get any appropriate solution. Spotify authenticates and initializes succeeds and also playlists API response getting successfu...

Newbie

I am facing an issue when using rn-Spotify-SDK, I’ve been trying to debug this issue for the past couple of days but didn't get any appropriate solution.   Spotify authenticates and initialize...

Sikky99

Casual Listener

657 Views

1 replies

0 likes

  • 657 Views
  • 1 replies
  • 0 likes

Solved!! Login API error

https://accounts.spotify.com/api/token returns error:"upstream connect error or disconnect/reset before headers. reset reason: connection termination"

Newbie

https://accounts.spotify.com/api/token returns error: "upstream connect error or disconnect/reset before headers. reset reason: connection termination"

MattSuda

Spotify Star

71707 Views

16 replies

12 likes

  • 71707 Views
  • 16 replies
  • 12 likes

authorization scope for current-playing-track

I want to have user's current playing track on my web-app after doing the authorization. But going through the documentation I found out that there is no authorization scope for such data through the API. So if someone can help me with this I'll be v...

Newbie

I want to have user's current playing track on my web-app after doing the authorization. But going through the documentation I found out that there is no authorization scope for such data through the...

472 Views

0 replies

0 likes

authorization-scope
current-playing-track
  • 472 Views
  • 0 replies
  • 0 likes

Short version of a playlist

PlanFree/PremiumCountry Device(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating System(iOS 10, Android Oreo, Windows 10,etc.) My Question or IssueIt will be great that a playlist could have an option to chosse some songs and play them as a...

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 It will...

431 Views

0 replies

0 likes

  • 431 Views
  • 0 replies
  • 0 likes

Need More Clarification on Quota Rejection

We've received a rejection mail from Spotify stating that we're requesting excessive data points and we're using scopes that don't correspond with the use case. Following this, we sent an email clarifying a few points so we can be sure how exactly to...

Regular

We've received a rejection mail from Spotify stating that we're requesting excessive data points and we're using scopes that don't correspond with the use case. Following this, we sent an email clari...

477 Views

0 replies

0 likes

Extension Rejection
extension request
  • 477 Views
  • 0 replies
  • 0 likes

Error Generate Report (ADS)

I run this curl command: curl --request POST \--url https://api-partner.spotify.com/ads/v1/report \--header 'Authorization: Bearer BQBqLCYU3205qb2Vk6RrsQBNlwKDeFO1ZH2YRqC454Os7lfN6As1rUFXryG7WVe8Sdf0xbKDc0UO9DZw5HNsd0FsEgibLpNXhF7mQ28f146NlCoi2pFzegG...

Newbie

I run this curl command:   curl --request POST \ --url https://api-partner.spotify.com/ads/v1/report \ --header 'Authorization: Bearer BQBqLCYU3205qb2Vk6RrsQBNlwKDeFO1ZH2YRqC454Os7lfN6As1rUF...

592 Views

0 replies

1 likes

errorreportsads
  • 592 Views
  • 0 replies
  • 1 likes

Using a Spotify API project for a portfolio

Hi all, I've recently built a small app using the Spotify API to teach myself API integration and the like. However, it's difficult to use that in my portfolio since I have to add users manually for them to use it. Does anyone have any ideas for how ...

Casual Listener

Hi all,    I've recently built a small app using the Spotify API to teach myself API integration and the like.    However, it's difficult to use that in my portfolio since I h...

GJMS

Casual Listener

1631 Views

4 replies

1 likes

  • 1631 Views
  • 4 replies
  • 1 likes

Authorization in React(NodeJS)

Is it possible to generate Access Token using a Client ID and Client Secret in NodeJS?

Visitor

Is it possible to generate Access Token using a Client ID and Client Secret in NodeJS? 

Peter_Schorn

Roadie

1958 Views

1 replies

0 likes

authorization
  • 1958 Views
  • 1 replies
  • 0 likes

GET api.spotify.com/v1/me/playlists not returning private playlists

PlanPremiumCountryBrazilDeviceWeb / Windows APP / Linux AppOperating SystemWindows / LinuxMy Question or IssueHi, I have a free python package(https://github.com/nikolas-virionis/spotify-api) that, basically, clusters tracks from an extensive playlis...

Regular

Plan Premium Country Brazil Device Web / Windows APP / Linux App Operating System Windows / Linux My Question or Issue Hi, I have a free python package(https://github.com/nikolas-virionis/sp...

Peter_Schorn

Roadie

1019 Views

1 replies

0 likes

  • 1019 Views
  • 1 replies
  • 0 likes

WebAPI - Invalid Identifiers

Hi, I'd really like to understand (not critique) your usage of 400s for invalid IDs instead of just throwing a 404 back. Some would suggest that this breaks encapsulation - would you agree with that? Thanks, James

Visitor

Hi,   I'd really like to understand (not critique) your usage of 400s for invalid IDs instead of just throwing a 404 back. Some would suggest that this breaks encapsulation - would you agree w...

352 Views

0 replies

0 likes

Discussion
  • 352 Views
  • 0 replies
  • 0 likes