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: CORS

Labels

Forum Posts

Important: App review and quota extension waiting times

The Spotify for developers platform helps many bring their ideas to life. Whether it's a short term app helping an artist’s release or something more long term - there is always a chance of success. Things start to grow and then you might also need w...

  • Moderator
  • Moderator
  • tom037
  • Visitor
  • 36427 Views
  • 180 replies
  • 21 likes
  • 36427 Views
  • 180 replies
  • 21 likes

Refresh Token API returning CORS errors

Hello,I am a developer consuming the Web API and suddenly today all my requests to Refresh Access Tokens are not working on the browser. Postman works fine, but the browser is throwing CORS errors. No change to code on my end, and if I get an access ...

  • Music Fan
  • Hello, I am a developer consuming the Web API and suddenly today all my requests to Refresh Access Tokens are not working on the browser. Postman works fine, but the browser is throwing CORS errors....
  • SaeedDev94
  • Casual Listener
  • 8619 Views
  • 19 replies
  • 11 likes
  • api
    CORS
    developers
    tokens
  • 8619 Views
  • 19 replies
  • 11 likes

iFrame shows only Preview on Safari

PlanPremium CountryTurkey Device(M1 Macbook Air ) My Question or Issue Hi all,I am developing a web app using the Spotify IFrame API and have encountered a peculiar issue. When accessing the app using Chrome or Firefox, the embedded player works perf...

  • Regular
  • Plan Premium   Country Turkey   Device (M1 Macbook Air )   My Question or Issue   Hi all, I am developing a web app using the Spotify IFrame API and have encountered a...
  • berksngn1
  • Regular
  • 426 Views
  • 3 replies
  • 0 likes
  • CORS
    iframe
  • 426 Views
  • 3 replies
  • 0 likes

Problem with React/authorization

Hi guys, im new to programming, but i really started to enjoy it.I want to make a web app that after pressing a button, creates playlist with last 10 songs you listened to.I ALMOST got it working, however I found one big obstacle.const create_playlis...

  • Newbie
  • ...wait fetch(`https://api.spotify.com/v1/users/${user}/playlists`, reqOptions) Provides me with CORS errors that  I cannot resolve   Access to XMLHttpRequest at 'https://api.spotify.com...
  • krantikc
  • Visitor
  • 385 Views
  • 2 replies
  • 0 likes
  • CORS
    Question
    Request
  • 385 Views
  • 2 replies
  • 0 likes

Authorization Endpoint return CORS error

PlanPremiumCountryUSADevice(iPhone 8, Samsung Galaxy 9, Macbook Pro late 2016)Operating SystemMacOS 10 My Question or Issue Hi Spotify team, I am trying to call the User Authorization endpoint as specified here: https://developer.spotify.com/document...

Screen Shot 2022-03-12 at 8.48.44 PM.JPG
  • Casual Listener
  • ...ser Authorization endpoint as specified here: https://developer.spotify.com/documentation/general/guides/authorization/code-flow/   But all I get in response is a status code of 303 and a CORS...
  • MaxPralat
  • Newbie
  • 1088 Views
  • 2 replies
  • 0 likes
  • authorization
    CORS
    Developer
  • 1088 Views
  • 2 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
  • ....com/api/token' from origin 'https://(my site name)' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is p...
  • Zontir
  • Casual Listener
  • 10992 Views
  • 17 replies
  • 13 likes
  • API Bug
    API request
    CORS
    token
  • 10992 Views
  • 17 replies
  • 13 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
  • ...his I need to use the authorization endpoint to get an authorization code which will in turn allow me to get an access token. However, the authorization endpoint is currently giving me the following CORS...
  • 1103 Views
  • 0 replies
  • 4 likes
  • API Bug
    authorization
    CORS
  • 1103 Views
  • 0 replies
  • 4 likes

Solved!!Superuser Contribution CORS openid-configuration

I am trying to use OIDC for auth.When my Blazor WASM client-app (which runs in the browser) attempts to hit https://accounts.spotify.com/.well-known/openid-configuration the response fails because of CORS. The error is:Access to XMLHttpRequest at 'ht...

  • Casual Listener
  • ...ecause of CORS. The error is: Access to XMLHttpRequest at 'https://accounts.spotify.com/.well-known/openid-configuration' from origin 'https://localhost:5001' has been blocked by CORS policy: No 'A...
  • ohej
  • Spotify
  • 5520 Views
  • 4 replies
  • 1 likes
  • CORS
    oidc
    openid-configuration
  • 5520 Views
  • 4 replies
  • 1 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
  • ...ttp://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'n...
  • spotifyjosh
  • Spotify
  • 5912 Views
  • 3 replies
  • 0 likes
  • CORS
    token
  • 5912 Views
  • 3 replies
  • 0 likes

Cross-Origin Request Blocked: CORS request did not succeed

Hi, I'm currently having an issue where any Spotify API requests I send from client-side JavaScript are resulting in CORS errors. For example, a request to get a user's saved tracks would result in the following error: Cross-Origin Request Blocked: T...

  • Newbie
  • Hi, I'm currently having an issue where any Spotify API requests I send from client-side JavaScript are resulting in CORS errors. For example, a request to get a user's saved tracks would result in t...
  • 2224 Views
  • 0 replies
  • 7 likes
  • api
    CORS
    javascript
  • 2224 Views
  • 0 replies
  • 7 likes