Cursor errors / Auth

Bad User API key / Unauthorized User API key

platform: Cursor / category: Auth

Cause

The 'Override OpenAI Base URL' toggle routes Anthropic API requests through OpenAI's endpoint, so auth fails even with a valid key.

Fix

Go to Settings > Models > API Keys and turn OFF 'Override OpenAI Base URL'. Restart Cursor, open a new chat, select a Claude model, and retry. If the toggle re-enables, disable it again and confirm it stays off before each session.

Source thread →

Part of the Automation Error Index — Cursor errors: browse all.

Hitting an automation error we have not covered?

AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.

Describe the problem