Question
I'm getting 'INVALID CLIENT: Failed to get client' when trying to link my Spotify account. How do I fix this?
Answer
Spotify INVALID CLIENT Error
What This Error Means
The "INVALID CLIENT" error occurs when:
- Spotify app credentials are incorrect
- App is not properly registered
- Redirect URI is misconfigured
- App settings don't match Songify
Solution Steps
Check Spotify App Settings
- Go to Spotify Developer Dashboard
- Verify your app is registered
- Check Client ID and Client Secret
- Ensure app is active
Configure Redirect URI
- In Spotify app settings, add:
- http://localhost:3050/auth/spotify/callback
- Or the callback URL shown in Songify
Update Songify Settings
- Go to Settings → Spotify
- Enter correct Client ID and Secret
- Use the exact values from Spotify
Re-authorize Connection
- Clear existing Spotify connection
- Click "Connect Spotify Account"
- Follow authorization process
Common Issues
Wrong Credentials
- Double-check Client ID and Secret
- Copy values exactly as shown
- Ensure no extra spaces
App Not Registered
- Create new Spotify app if needed
- Follow registration process
- Wait for app activation
Redirect URI Mismatch
- Use exact callback URL
- Check for typos
- Ensure protocol matches (http/https)
Prevention
- Save credentials securely
- Use environment variables
- Regular app maintenance
- Keep documentation updated
Alternative Solutions
- Use Songify's default app
- Contact support for credentials
- Use alternative music sources
Was this article helpful?
Related Keywords
spotify
invalid client
credentials
oauth
authorization