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

Topics with Label: token

Labels

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
  • 18646 Views
  • 0 replies
  • 58 likes
  • Discussion
  • 18646 Views
  • 0 replies
  • 58 likes

Solved!! Invalid refresh token

PlanPremiumCountryUADevicePCOperating SystemWindows 11 My Question or IssueHello, trying to do an automatic access token refresh, but for some reason when I do, the query returns an error to me: {"error": "invalid_grant", "error_description": "Invali...

  • Casual Listener
  • Plan Premium Country UA Device PC Operating System Windows 11   My Question or Issue Hello, trying to do an automatic access token refresh, but for some reason when I do, the query r...
  • DepsCian
  • Casual Listener
  • 232 Views
  • 3 replies
  • 0 likes
  • token
  • 232 Views
  • 3 replies
  • 0 likes

Superuser Contribution Token API CORS error

Hi. I am building a web application consuming Spotify API.The feature is simply searching for a song which had worked fine until yesterday. However, all of a sudden I was not able to get a access token from the API server any more - which lead the se...

  • Visitor
  • ...ble to get a access token from the API server any more - which lead the search request not to work as well. The error message is as below.   Access to XMLHttpRequest at 'https://accounts.spotify...
  • Zontir
  • Casual Listener
  • 5835 Views
  • 17 replies
  • 13 likes
  • API Bug
    API request
    CORS
    token
  • 5835 Views
  • 17 replies
  • 13 likes

Get a permanent token for API calls

Hello, I wrote a Python script to update playlists (throught API calls). It works fine, but I have to generate a new token each hour from the Spotify Web API Console. Is there a way to get a permanent token in order to be able to use it in a schedule...

  • Casual Listener
  • Hello,   I wrote a Python script to update playlists (throught API calls). It works fine, but I have to generate a new token each hour from the Spotify Web API Console. Is there a way to get a...
  • Rémy-J
  • Casual Listener
  • 846 Views
  • 4 replies
  • 0 likes
  • api
    Python
    token
  • 846 Views
  • 4 replies
  • 0 likes

User not registered in the Developer Dashboard, reason: None

Hello, I am running into an issue and not sure how to resolve it. I am working on a discord bot that will add any Spotify links found in the chat into a playlist I made.I got it working on my main computer which is a Mac. I am using the Spotipy libra...

  • Visitor
  • Hello, I am running into an issue and not sure how to resolve it. I am working on a discord bot that will add any Spotify links found in the chat into a playlist I made. I got it working on my main ...
  • 407 Views
  • 0 replies
  • 0 likes
  • Linux
    redirect
    redirect-uri
    token
  • 407 Views
  • 0 replies
  • 0 likes

Spotify Web API - Force token expiry?

Hi! Is it possible to force a token to expire? I want to test how my application handles expired tokens without having to create a bunch of test logic. I'm using both Web API and Spotify Playback SDK

  • Casual Listener
  •   Hi!   Is it possible to force a token to expire? I want to test how my application handles expired tokens without having to create a bunch of test logic.    I'm using b...
  • 143 Views
  • 0 replies
  • 0 likes
  • api
    api token
    question
    token
    Web Playback API
  • 143 Views
  • 0 replies
  • 0 likes

Solved!!Superuser Contribution /token endpoint - CORS Error

My Question or IssueWhen sending an request to: https://accounts.spotify.com/token Access to fetch at 'https://accounts.spotify.com/token' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is...

  • Regular
  • My Question or Issue When sending an request to: https://accounts.spotify.com/token           Access to fetch at 'https://accounts.spotify.com/token' from origin 'h...
  • spotifyjosh
  • Spotify
  • 2718 Views
  • 3 replies
  • 0 likes
  • CORS
    Possible Bug
    token
  • 2718 Views
  • 3 replies
  • 0 likes

Delete or deactivate oauth token

Hi, I am starting to learn API and testing it out with Spotify. I ran across a thing I have not found the answer for anywhere. How can I delete or deactivate a token?E.g. I have generated a token in the Web API console using the GET TOKEN button on p...

  • Visitor
  • Hi,   I am starting to learn API and testing it out with Spotify. I ran across a thing I have not found the answer for anywhere.   How can I delete or deactivate a token? E.g. I h...
  • Hubo
  • Community Legend
  • 663 Views
  • 1 replies
  • 0 likes
  • api
    token
  • 663 Views
  • 1 replies
  • 0 likes