Announcements

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
  • 18131 Views
  • 0 replies
  • 58 likes
  • Discussion
  • 18131 Views
  • 0 replies
  • 58 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...
  • Peter_Schorn
  • Roadie
  • 4424 Views
  • 12 replies
  • 0 likes
  • bug
    Error
  • 4424 Views
  • 12 replies
  • 0 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
  • 965 Views
  • 3 replies
  • 1 likes
  • Error
    Web API
  • 965 Views
  • 3 replies
  • 1 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...
  • gabrielsalles
  • Casual Listener
  • 352 Views
  • 2 replies
  • 1 likes
  • 400
    access token
    Authentication Token
    code
    Error
    invalid authorization code
    invalid_grant
  • 352 Views
  • 2 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...
  • 205 Views
  • 0 replies
  • 0 likes
  • api
    Error
    Feature Request
    Possible Bug
  • 205 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...
  • 268 Views
  • 0 replies
  • 0 likes
  • 401
    api
    bug
    Error
    Search
  • 268 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.c...
  • 295 Views
  • 0 replies
  • 0 likes
  • access token
    Error
  • 295 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 i...
  • Hubo
  • Community Legend
  • 303 Views
  • 1 replies
  • 0 likes
  • embed
    Error
    Widget
  • 303 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...
  • 1372 Views
  • 0 replies
  • 3 likes
  • api
    CORS
    Error
    javascript
  • 1372 Views
  • 0 replies
  • 3 likes

(Solved)

My issue is solved.

  • Casual Listener
  • My issue is solved.
  • 267 Views
  • 0 replies
  • 0 likes
  • api
    Error
    question
  • 267 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
  • 2401 Views
  • 1 replies
  • 0 likes
  • api
    Error
    php
  • 2401 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.
  • 2818 Views
  • 0 replies
  • 2 likes
  • 429
    api
    Error
  • 2818 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 t...
  • 305 Views
  • 0 replies
  • 0 likes
  • Error
    question
    SDK
  • 305 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
  • 13422 Views
  • 40 replies
  • 4 likes
  • Error
    server
  • 13422 Views
  • 40 replies
  • 4 likes