Question
I'm getting 'INVALID CLIENT: Failed to get client' when trying to link my Spotify account. How do I fix this?
Answer
Spotify is rejecting the app credentials Songify sent. Almost always that's a typo, or the developer app wasn't saved.
- Open the Spotify Developer Dashboard and click your app.
- Copy the Client ID and Client Secret again. No extra space, no missing character.
- In Songify, Settings → Spotify, paste both fields fresh.
- Confirm the redirect URI on the Spotify app is exactly:
http://127.0.0.1:4002/auth
You have to click Add on that URI before Save. Then in Songify, the dropdown next to Link must be 127.0.0.1.
- Click Link again.
Creating a new Spotify app is fine if the old one is a mess. Just paste the new ID and secret into Songify.
This is not the same error as Invalid redirect URI — that one is here. Don't use localhost:3050 or https:// for this; Songify's callback is http://127.0.0.1:4002/auth.