I have a cursor pro account. And I want to use my anthropic API Key. I went to Anthropic and created an account and funded my account, and created a key. Now over to cursor, copy/paste, enable my Anthropic key and I get Bad User API key Unauthorized User API key
Since this API key is brand spanking new I went back to the anthropic console and I see I am being charged for the requests coming from cursor. I go to the cursor settings to ‘verify’ my key, click it the verify button and nothing happens. No messages or anything.
Not sure what you mean by ‘API key not activate?’. I’m getting charged for the requests. The API key is solely being used with cursor so I am assuming athropic charging me is because cursor is in fact making the request (although it is a Bad User API key). So by this I think it is activated? Also, when I click on the ‘verify’ button nothing happens. I don’t a message or anything.
And yes. I have created different API keys to try out and all of them result in the same.
Any updates here? I tried all possible solutions that I could find in the forum and simply nothing works. I am trying to use my own Anthropic API key, I can see Cursor calls the API every time I launch it, but when I try the chat, I get the error “We encountered an issue when using your anthropic API key: Provider was unable to process your request”, “Request failed with status code 404”, request ID cb4161c2-1c2a-49b7-bcc8-679ad800f9c3
Never mind, I figure it out. In the chat option, I needed to chose the “normal” claude sonnet agent, not the one added with the API key. This should be explained better in the documentation.
Also encounter the “Bad User API key” problem, when i clear all the custom api key and base url except the anthropic api key in the settings ,it magically works , hope it helps .
I’m getting the same issue.
I am on a free plan in Cursor, and I tried to add my Anthropic API Key (including brand new one). When I click “Verify” in Cursor “Models/API Keys” menu, it seems to think for a while, and nothing happens. After that if I want to call claude, it says that I’m on a free plan and can’t do so.
same issue here, i am using azure openai
Missing model name: Missing model name
encountered an issue when using your API key: Provider was unable to process your request