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 Redirect URI Error

Understanding the Error

The "Invalid redirect URI" error means:

  • The callback URL doesn't match Spotify app settings
  • URI format is incorrect
  • App settings are misconfigured
  • Protocol mismatch (http vs https)

Fix Steps

  1. Check Spotify App Settings

    • Go to Spotify Developer Dashboard
    • Select your app
    • Go to "Edit Settings"
    • Check "Redirect URIs" section
  2. Add Correct Redirect URI

  3. Verify URI Format

    • Must be exact match
    • Check for typos
    • Ensure proper formatting
    • No extra spaces
  4. Update Songify Configuration

    • Go to Settings → Spotify
    • Verify callback URL matches
    • Re-enter Client ID and Secret
    • Clear and re-authorize

Common Mistakes

Wrong Protocol

  • Use http:// not https://
  • Check for protocol mismatch
  • Ensure consistency

Wrong Port

  • Verify port number (3050)
  • Check if Songify uses different port
  • Update accordingly

Extra Characters

  • No trailing slashes
  • No extra spaces
  • Exact string match required

Troubleshooting

  1. Clear browser cache
  2. Restart Songify
  3. Check firewall settings
  4. Verify network connectivity
  5. Contact support if needed

Prevention

  • Document your settings
  • Use consistent URIs
  • Regular app maintenance
  • Test connections regularly

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