jbszczepaniak / spotify-cli

Terminal client for Spotify
MIT License
176 stars 10 forks source link

Could not get token, error: oauth2: cannot fetch token: 400 Bad Request #7

Closed gvanbeck closed 4 years ago

gvanbeck commented 5 years ago

Hey

I followed every step of the installationprocess (also provided the localhost:8888 ... uri) The response then form the localhost is the following

Could not get token, error: oauth2: cannot fetch token: 400 Bad Request Response: {"error":"invalid_grant","error_description":"Invalid authorization code"}

Any solution?

buduboti commented 5 years ago

The same here.

RobatBender commented 5 years ago

:+1: Same trouble

Narong-Kanthanu commented 5 years ago

me too, Show this error after refresh browser

copland commented 5 years ago

You may need to follow the instructions for building from source. I was hitting this issue as well with the latest release but got around it by building from master.

jbszczepaniak commented 5 years ago

Are you sure you are setting environment variables? I was just testing this, and still works for me (Ubuntu) both built from sources as well as when running from release.

Let me do this. I will improve logging a little bit, and we will see where the problem might be. OK? Also note that you need to have Spotify PREMIUM in order to be able to use this app.

jbszczepaniak commented 4 years ago

I fixed problems reported by users and released new versions Please consider using this one, also remember about requirements for running the project. I am closing this issue, if running newest release will be still problematic for you - feel free to reopen the issue.

muniv11111 commented 4 years ago

with latest reelease, response from localhost redirect uri: "Could not get token, error: spotify: didn't get access code"