Assistance Needed: "Unauthorized User API Key" Error in Cursor

Hello Cursor Support Team,

I am encountering the following error when attempting to use Cursor with my Claude integration:

less

复制代码

A Unauthorized User API key
(Request ID: 1D:5643fa14-ac8b-4deb-b85c-5df82ac0919d)

Details:

  • Subscription Status: I am a Cursor Pro member and have integrated my own Claude API key.​
  • Issue Description: Despite correctly entering and verifying my Claude API key, I receive the “Unauthorized User API key” error message. Additionally, I notice that my Anthropic account is being billed for requests originating from Cursor, even though the integration isn’t functioning as expected.​

Steps Taken:

  1. Verified that my Claude API key is active and correctly entered in Cursor’s settings.​
  2. Checked my Anthropic account, which shows charges corresponding to Cursor usage.​
  3. Attempted to use Cursor’s built-in Claude models without my API key, but encountered similar authorization errors.​CSDN 博客

Request:

I would appreciate any assistance or guidance to resolve this issue, ensuring that I can utilize Claude within Cursor without encountering authorization errors or unexpected charges.

Thank you for your support.

Best regards

Same here. API keys in general are very buggy. It seems like the cursor team doesn’t really care about this since it doesn’t make them money.

Hey, which model are you trying to use? Here’s a list of models you need to add to Cursor for them to work with your API key:

https://docs.anthropic.com/en/docs/about-claude/models/all-models

I’m having the same issue with Google API

Hey, this error might occur if you have a custom base URL set for the OpenAI model. Try resetting to default, that should work.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.