Announcements

Topics with Label: invalid_grant

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
  • 16018 Views
  • 0 replies
  • 53 likes
  • Discussion
  • 16018 Views
  • 0 replies
  • 53 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
  • ...rror: invalid_grant error_description: Invalid authorization code   As I am logging all the error callback information, I can check that my request is being sent correctly (grant_type, c...
  • gabrielsalles
  • Casual Listener
  • 249 Views
  • 2 replies
  • 1 likes
  • 400
    access token
    Authentication Token
    code
    Error
    invalid authorization code
    invalid_grant
  • 249 Views
  • 2 replies
  • 1 likes

Superuser Contribution Spotify api works w/ my wix site in preview but not when published

My Question or IssueI'm making fetch post requests from the backend of my wix site to the spotify api. it works perfectly in the editor/preview and the api returns an access token, but when I publish the site and try and use it on the live site I get...

  • Visitor
  • ...publish the site and try and use it on the live site I get an invalid_grant invalid authorization key error instead. Why might this be? I already verified my permissions are set to allow anyone to c...
  • _milena
  • Roadie
  • 518 Views
  • 1 replies
  • 0 likes
  • api
    authorization
    invalid_grant
  • 518 Views
  • 1 replies
  • 0 likes