# We encountered an issue when using your Anthropic API key

**URL:** <https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759>\
**Category:** Bug Reports\
**Created:** [January 15, 2025, 4:59pm UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759 "2025-01-15T16:59:22Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![melten](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/melten/32/20322_2.png) [@melten](https://forum.cursor.com/u/melten)\
**Post date:** [January 15, 2025, 4:59pm UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/1 "2025-01-15T16:59:22Z")

</div>

The slow requests are taking several minutes, and i switch to my claude API, but it works for a couple seconds to a min and then i get this warning:

"unable to reach anthropic  
We encountered an issue when using your Anthropic API key. Please check your API key settings and try again.

Request ID: 3ac6deab-8976-4409-93a4-f862a29cd39d"

I am a cursor pro member. And anthropic confirms i am getting billed.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 15, 2025, 5:36pm UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/2 "2025-01-15T17:36:32Z")

</div>

Hey, when you switch to your API key, are you not using other models in your subscription, like GPT-4o or any other?

---

<div class="post-metadata">

**Author:** ![melten](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/melten/32/20322_2.png) [@melten](https://forum.cursor.com/u/melten)\
**Post date:** [January 16, 2025, 1:49pm UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/3 "2025-01-16T13:49:47Z")

</div>

I have claude-3.5-sonnet selected  
 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/a/4/a4795e4041419bc4941128f1cb6a5da43aa769ca.png)

---

<div class="post-metadata">

**Author:** ![inlann](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/inlann/32/32664_2.png) [@inlann](https://forum.cursor.com/u/inlann)\
**Post date:** [March 4, 2025, 8:54am UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/4 "2025-03-04T08:54:39Z")

</div>

Same: We encountered an issue when using your anthropic API key. Please check your API key settings and try again.

---

<div class="post-metadata">

**Author:** ![rfuentes](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@rfuentes](https://forum.cursor.com/u/rfuentes)\
**Post date:** [March 12, 2025, 2:00pm UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/5 "2025-03-12T14:00:29Z")

</div>

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.

Can someone help out here?

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 12, 2025, 4:34pm UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/6 "2025-03-12T16:34:42Z")

</div>

Hey, is it possible that your key is incorrect? Try creating a new one. When you click to verify, does your API key not activate?

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/5/e/5e3d1a967d21ffbf6e1bd21c0734b6f7b2c1ffe5.png)

---

<div class="post-metadata">

**Author:** ![rfuentes](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@rfuentes](https://forum.cursor.com/u/rfuentes)\
**Post date:** [March 12, 2025, 4:49pm UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/7 "2025-03-12T16:49:00Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 12, 2025, 4:59pm UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/8 "2025-03-12T16:59:29Z")

</div>

It’s not working for me either, I’ll report it to the developers.

---

<div class="post-metadata">

**Author:** ![rgrasiano](https://avatars.discourse-cdn.com/v4/letter/r/a88e57/32.png) [@rgrasiano](https://forum.cursor.com/u/rgrasiano)\
**Post date:** [March 15, 2025, 12:05pm UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/9 "2025-03-15T12:05:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rgrasiano](https://avatars.discourse-cdn.com/v4/letter/r/a88e57/32.png) [@rgrasiano](https://forum.cursor.com/u/rgrasiano)\
**Post date:** [March 15, 2025, 12:09pm UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/10 "2025-03-15T12:09:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![arenxxxe](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/arenxxxe/32/38186_2.png) [@arenxxxe](https://forum.cursor.com/u/arenxxxe)\
**Post date:** [March 19, 2025, 5:03am UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/11 "2025-03-19T05:03:42Z")

</div>

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 .

---

<div class="post-metadata">

**Author:** ![SpeedRanger](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/speedranger/32/44402_2.png) [@SpeedRanger](https://forum.cursor.com/u/SpeedRanger)\
**Post date:** [April 20, 2025, 8:37am UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/12 "2025-04-20T08:37:16Z")

</div>

Hey @arenxxxe , did you get any fix for this for Google API Key?

---

<div class="post-metadata">

**Author:** ![AndreyDodonov](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/andreydodonov/32/64899_2.png) [@AndreyDodonov](https://forum.cursor.com/u/AndreyDodonov)\
**Post date:** [June 19, 2025, 3:16pm UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/13 "2025-06-19T15:16:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![AndreyDodonov](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/andreydodonov/32/64899_2.png) [@AndreyDodonov](https://forum.cursor.com/u/AndreyDodonov)\
**Post date:** [June 19, 2025, 5:09pm UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/14 "2025-06-19T17:09:13Z")

</div>

And yes, I get charged, so the key is definitely active and correct

---

<div class="post-metadata">

**Author:** ![dalal](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@dalal](https://forum.cursor.com/u/dalal)\
**Post date:** [June 21, 2025, 12:20pm UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/15 "2025-06-21T12:20:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [December 21, 2025, 8:56am UTC](https://forum.cursor.com/t/we-encountered-an-issue-when-using-your-anthropic-api-key/41759/18 "2025-12-21T08:56:57Z")

</div>

Closed on December 21, 2025, 8:56am UTC

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