Announcements
Hi folks! We're aware of reports about your Wrapped stories misbehaving and we're looking into it. We've managed to fix the issue with the Wrapped banner/stories not showing up. More info here. If the stories cause your app to stop responding, please subscribe here. Also, check out our Wrapped FAQ for answers to common questions.

Web API Authorization Code Flow Error

Reply

Web API Authorization Code Flow Error

Casual Listener

I'm implementing a simple application to generate some playlist for a user based on some provided data. However, I can't seem to get authorized, even though I've followed to procedures as far as I can tell.

This is the request URL I'm generating:

"https://accounts.spotify.com/authorize?response_type=code&client_id=*MyClientId*&scope=playlist-modify-public&redirect_uri=localhost:8999%2Fcallback"

 

I have registered the redirect uri exactly like that in my application (replacing the %2F with a slash). I'm getting an amazingly vague "Oops, something went wrong" error message with a 500 status code after putting in my authentication details. Can anyone tell me what I'm doing wrong?

1 Reply

Re: Web API Authorization Code Flow Error

Casual Listener

I seem to have fixed it by adding "http://" in front of the URI, both in the dashboard and in the request.

SUGGESTED POSTS