INVALID_CLIENT Redirect URI Error

Question

I'm getting 'INVALID_CLIENT: Invalid redirect URI' when trying to link my Spotify account. What's wrong?

Answer

Spotify compared the callback Songify used with the URI list on your developer app, and they didn't match. It has to be character-for-character.

On the Spotify Developer Dashboard, edit your app and put this in Redirect URIs:

http://127.0.0.1:4002/auth

Then click Add, then Save. People miss Add constantly.

Use all of this as-is:

  • http://, not https://
  • 127.0.0.1, not localhost
  • port 4002
  • path /auth
  • no trailing slash, no space

In Songify, Settings → Spotify, the dropdown next to Link should also be 127.0.0.1. Then try Link again.

If you already saved a wrong URI, delete it from the Spotify app so only the line above remains.

Was this article helpful?

Related Keywords

spotify redirect uri oauth callback authorization
Back to FAQ More from Troubleshooting

Still Need Help?

Search for more answers or browse our categories