Announcements

Help Wizard

Step 1

NEXT STEP

Topics with Label: Error

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
  • 22600 Views
  • 0 replies
  • 61 likes
  • Discussion
  • 22600 Views
  • 0 replies
  • 61 likes

Superuser Contribution Returning "Invalid Client" in Authentication last step to generate access token

PlanFreeCountryIndiaDeviceLenovo ideapad 100Operating SystemWindows 8.1 pro My Question or IssueI always receive this error when I run command to generate access token from authentication steps{error: 'invalid_client', error_description: 'Invalid cli...

  • Regular
  • Plan Free Country India Device Lenovo ideapad 100 Operating System Windows 8.1 pro   My Question or Issue I always receive this error when I run command to generate access token f...
  • SimonCanJer
  • Newbie
  • 6069 Views
  • 13 replies
  • 1 likes
  • bug
    Error
  • 6069 Views
  • 13 replies
  • 1 likes

Error 400 : "Only valid bearer authentication supported"

PlanPremiumCountrySpain I'm getting Error 400 : "Only valid bearer authentication supported" using the access token from /api/token request I have the next flow:Using the auth sdk in Kotlin to do the /authorize bringing the activity with the Authoriz...

  • Regular
  • Plan Premium Country Spain   I'm getting Error 400 : "Only valid bearer authentication supported" using the access token from /api/token request   I have the next flow: Using the a...
  • 638 Views
  • 0 replies
  • 0 likes
  • Error
    Feature Request
    question
  • 638 Views
  • 0 replies
  • 0 likes

Occasional 'Invalid Authorization Code'

PlanPremiumCountryBrazilDeviceMacbook Pro 2017Operating SystemmacOS 10.15 My Question or IssueHello,I am running an App that requires the user to authenticate with Spotify, and I am doing this according to the Authorization Code Flow. Most of the tim...

  • Casual Listener
  • ...potify, and I am doing this according to the Authorization Code Flow. Most of the times I get successful responses, but occasionally I get an error: Error: Request failed with status code 400 error...
  • Jcode
  • Newbie
  • 517 Views
  • 3 replies
  • 2 likes
  • 400
    access token
    Authentication Token
    code
    Error
    invalid authorization code
    invalid_grant
  • 517 Views
  • 3 replies
  • 2 likes

Update playlist tracks doesn't recognise "uris" parameter

I'm trying to update the tracks in a playlist using the playlists/playlist_id/tracks PUT action, as described at https://developer.spotify.com/documentation/web-api/reference/#/operations/reorder-or-replace-playlists-tracks.I'm using this curl comman...

  • Newbie
  • ...etting this response, which doesn't seem to make sense considering the docs: { "error" : { "status" : 400, "message" : "Unsupported attribute(s): [uris]" } }  The playlist ID and bearer t...
  • Ximzend
  • Roadie
  • 1113 Views
  • 3 replies
  • 1 likes
  • Error
    Web API
  • 1113 Views
  • 3 replies
  • 1 likes

SpotifyOauthError Invalid client

PlanPremiumCountryNorwayOperating SystemWindows and Ubuntu 18 My Question or IssueHi! I am delivering a master thesis on music recommendation based on content-based filtering. In that sense I am required to use the spotify api to both get audio featu...

  • Newbie
  • ...ollowing error-message provided as attachment when i connected to a new dashboard. I am 100 percent sure I have set client_id and client_secret to the correct ids. However i still get the following error...
  • 247 Views
  • 0 replies
  • 0 likes
  • api
    Error
    Feature Request
    Possible Bug
  • 247 Views
  • 0 replies
  • 0 likes

Bug in Search API: Always returning null

CountryGermanyOperating SystemWindows 10 My Question or IssueHello fellow developers, I'm currently experiencing an issue with the /search endpoint in the API. My ultimate goal is to obtain the Spotify IDs for songs listed in the listening history JS...

  • Casual Listener
  • Country Germany Operating System Windows 10   My Question or Issue Hello fellow developers,   I'm currently experiencing an issue with the /search endpoint in the API. My ultimate g...
  • 354 Views
  • 0 replies
  • 0 likes
  • 401
    api
    bug
    Error
    Search
  • 354 Views
  • 0 replies
  • 0 likes

Server-side access token request stopped working

Hi,For the past months, I've successfully used the Web API to retrieve follower counts and popularity of my Spotify artist. I requested an access token via https://accounts.spotify.com/api/token (grant_type: client_credentials), and then went on to r...

  • Newbie
  • Hi, For the past months, I've successfully used the Web API to retrieve follower counts and popularity of my Spotify artist.   I requested an access token via https://accounts.spotify.co...
  • 331 Views
  • 0 replies
  • 0 likes
  • access token
    Error
  • 331 Views
  • 0 replies
  • 0 likes

Embed widget play button doesn't work, 400 errors in console

I copied/pasted the embed widget code from the Spotify site into my page. When I go to click the play button, the console shows all sorts of errors: I am building a NextJS site in React and Typescript, here's the embed code: Devicelatest Chrome on M...

Screen Shot 2021-04-07 at 1.12.33 PM.png
  • Casual Listener
  • I copied/pasted the embed widget code from the Spotify site into my page. When I go to click the play button, the console shows all sorts of errors:   I am building a NextJS site in R...
  • Hubo
  • Community Legend
  • 347 Views
  • 1 replies
  • 0 likes
  • embed
    Error
    Widget
  • 347 Views
  • 1 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...
  • 1519 Views
  • 0 replies
  • 4 likes
  • api
    CORS
    Error
    javascript
  • 1519 Views
  • 0 replies
  • 4 likes

(Solved)

My issue is solved.

  • Casual Listener
  • My issue is solved.
  • 302 Views
  • 0 replies
  • 0 likes
  • api
    Error
    question
  • 302 Views
  • 0 replies
  • 0 likes

{"error":"unsupported_grant_type"}

Hey, I'm using the php sdk api https://github.com/jwilsson/spotify-web-api-phpand trying to connect the user. I log in using the link https://accounts.spotify.com/authorize? client_id=--id-- &redirect_uri=https%3A%2F%2Fwww.testsite.com%2Fspotify_conn...

  • Roadie
  • ...mp;redirect_uri=https%3A%2F%2Fwww.testsite.com%2Fspotify_connect%2F &client_secret=--secret--     I get this in return:     {"error":"unsupported_grant_type","error...
  • magnusmurel
  • Roadie
  • 2670 Views
  • 1 replies
  • 0 likes
  • api
    Error
    php
  • 2670 Views
  • 1 replies
  • 0 likes

Too many 429 error for Spotify API

Hi,Since the launch of Spotify in Russia, we are getting most of the time the 429 Rate limit with the Spotify API. Even now by stopping our service and decreasing the volume of requests... What can we do ? We never got such issue before and now on al...

  • Roadie
  • ...etting the error by respecting it for many retries to finally have the request to be done.   Thank you.
  • 2919 Views
  • 0 replies
  • 2 likes
  • 429
    api
    Error
  • 2919 Views
  • 0 replies
  • 2 likes

API limit exceeded : ERROR

CountryUSADevice(Iphone)Operating System(iOS) My Question or IssueWe have been using the Spotify SDK go lang wrapper for Spotify web api. https://github.com/zmb3/spotify We have recently hit an error API limit exceeded : ERROR We believe there was a ...

  • Visitor
  • ...potify   We have recently hit an error  API limit exceeded : ERROR We believe there was a bug in an events code we had with songkick that we have deprecated. It caused us to make far too m...
  • 325 Views
  • 0 replies
  • 0 likes
  • Error
    question
    SDK
  • 325 Views
  • 0 replies
  • 0 likes

Superuser Contribution Authentication API failing in production right now

Hey Spotify, I'm using your authentication api to register all my users and everything worked fine since yesterday. I just launced a big ad campaign and suddenly no new users or current ones can sign in and all the api returns are: 400 - 'invalid_req...

  • Music Fan
  • ...nes can sign in and all the api returns are: 400 - 'invalid_request' without any error description or ENOTFOUND accounts.spotify.com. This happens when I'm requesting the authorization_code via: h...
  • spotifyjosh
  • Spotify
  • 14415 Views
  • 40 replies
  • 4 likes
  • Error
    server
  • 14415 Views
  • 40 replies
  • 4 likes