Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with the connection #84

Open
HermanPierre opened this issue Sep 29, 2017 · 3 comments
Open

Error with the connection #84

HermanPierre opened this issue Sep 29, 2017 · 3 comments

Comments

@HermanPierre
Copy link

HermanPierre commented Sep 29, 2017

hello :)
I try to connect to my spotify account, but when i put my ids he say:

Error: Username doesn't match with web-api authorization

Before that, i was connected but when i was putting the token he was saying an error:

goroutine 19 [running]:
panic(0x805360, 0xc42000c110)
/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/fabiofalci/sconsify/webapi.Auth(0x8b5720, 0x20, 0x8b59e0, 0x35, 0x180001, 0x0)
/go/src/github.com/fabiofalci/sconsify/webapi/web_auth.go:51 +0x887
github.com/fabiofalci/sconsify/spotify.(*Spotify).finishInitialisation(0xc420136770, 0xc420124280, 0xc42012a048, 0x0, 0x0)
/go/src/github.com/fabiofalci/sconsify/spotify/spotify.go:146 +0x12d
github.com/fabiofalci/sconsify/spotify.(*Spotify).checkIfLoggedIn(0xc420136770, 0xc420124280, 0xc42012a048, 0xc420128368, 0x8)
/go/src/github.com/fabiofalci/sconsify/spotify/spotify.go:120 +0x5a
github.com/fabiofalci/sconsify/spotify.initialiseSpotify(0xc420124280, 0xc420128348, 0x7, 0xc420128368, 0x8, 0x8, 0xc420130100, 0x0, 0x0)
/go/src/github.com/fabiofalci/sconsify/spotify/spotify.go:60 +0x22a
github.com/fabiofalci/sconsify/spotify.Initialise(0xc420124280, 0xc420128348, 0x7, 0xc420128368, 0x8, 0x8, 0xc420130100)
/go/src/github.com/fabiofalci/sconsify/spotify/spotify.go:39 +0x7a
created by main.main
/go/src/github.com/fabiofalci/sconsify/sconsify.go:85 +0xaad

And yes i was putting all the token sentance, with the spaces.
I use spotify with my facebook but i'd like to not disconnect them.
I'd like to try some news things to get this working but...
thanks

@HermanPierre
Copy link
Author

Now i've created a spotify account without facebook and i put the premium on it, but it still saying that my web-api dosen't match :/

@fabiofalci
Copy link
Owner

Can you make sure that you have used the new account in the browser too?

Because when it generates the token in the browser, it'll get the logged in user from there.

@HermanPierre
Copy link
Author

Hey !
I found the solution, because my account was created with facebook, i couldn't dissociate them, so i found this link: https://www.spotify.com/au/account/set-device-password/
And so nowi can use my username to connect and i can connect to my spotify account without the facebook button :)
Thanks and nice application !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants