Error: "Invalid API key. Unauthorized User API key" Request ID: 420729f6-705b-448a-a88d-9c183a8132ed

Status:

  • Can login to dashboard (cursor.com/dashboard) :white_check_mark:
  • Payment active, Pro plan :white_check_mark:
  • DNS/Network fixed (was PING timeout, now API error) :white_check_mark:
  • status.cursor.sh unreachable :cross_mark:
  • Tried: logout/login, cache clear, full reinstall :cross_mark:

Anyone else getting this? Is auth backend down?

Hey, this isn’t an auth backend issue. Your login and Pro subscription are fine. The Invalid API key. Unauthorized User API key error is coming from the BYOK path Bring Your Own Key, meaning the request was sent to the model provider using your personal API key, and the provider returned a 401. Most of the time this is caused by an old or invalid custom key in your settings.

Try this:

  • Open Settings → Models → API Keys
  • Find any custom Anthropic or OpenAI key and either toggle it off or delete it, or replace it with a valid key
  • Restart Cursor

After that, requests should go through Cursor managed models and the error should go away.

Same case here: Unauthorized User API Key for other models

If it turns out you don’t have any custom key set up, reply with your Cursor version and a fresh Request ID and we’ll dig deeper. The status.cursor.sh downtime isn’t related, that’s a separate issue.