AWS Bedrock Model Not Working in Cursor – "The provided model identifier is invalid"

Describe the Bug

Hi,
When I try to call a model via AWS Bedrock in Cursor, I get the following error:

The provided model identifier is invalid.
Request ID: 34c5020b-4fd4-4b40-975d-f76272263f58
I’m also unable to use the Azure OpenAI API in Cursor, but I’ve already opened a separate thread for that issue.

My API keys work fine on other platforms, so it seems the issue might be related to how Cursor handles Bedrock API integration.

Could you please look into this?

Steps to Reproduce

Open Cursor and navigate to the API integration section.

Add your AWS Bedrock API key and configure the model identifier.

Attempt to call a model using the Bedrock API.

Observe the error

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.4.5 (system setup)
VSCode Version: 1.99.3
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290
Date: 2025-08-13T02:08:56.371Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

Yes - Cursor is unusable

4 Likes

Hi,

Instead of using ARN profile, could you try to use Inference profile ? Also to test or use a model name like that : us.anthropic.claude-opus-4-1-20250805-v1:0 model.

I hope it works.

Hello,

I don’t think there’s any model name left that I haven’t tried, but it doesn’t work. Cursor activates the api but gives an error in the chat and agent section..

Facing the same issue on MacOS. This is quite frustrating

I’d like to use the agent aws-bedrocknorth-1… Is it released yet ?

Same Issue any solution did you get??

Facing the same issue. very frustrating.

Facing same issue here… I’ve open a discussion Cannot use AWS Bedrock API Keys

switched to Claude Code

facing the exact same issue, would be helpfull if someone from the cursor team can confirm to us that is really an error in the software so we stop spending our time trying for different solutions or ways we could be doing it wrong…

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

After the update from today 25/08/2025 (1.5.5) I cannot use my Bedrock API Keys with any of the available models, even with the ones that come with Cursor. It appears the message:

We encountered an issue when using your API key: Provider was unable to process your request. Here is some more detalied request information:

Request ID: 88219e45-a132-4e66-9025-28c67d592baf
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We encountered an issue when using your API key: Provider was unable to process your request\n\nAPI Error:\n\n\nThe provided model identifier is invalid.\n”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at rol.$endAiConnectTransportReportError (vscode-file://vscode-app/c:/Users/[USERNAME_REMOVED]/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4869:318559)
at tgr._doInvokeHandler (vscode-file://vscode-app/c:/Users/[USERNAME_REMOVED]/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:211942)
at tgr._invokeHandler (vscode-file://vscode-app/c:/Users/[USERNAME_REMOVED]/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:211684)
at tgr._receiveRequest (vscode-file://vscode-app/c:/Users/[USERNAME_REMOVED]/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:210449)
at tgr._receiveOneMessage (vscode-file://vscode-app/c:/Users/[USERNAME_REMOVED]/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:209271)
at M_t.value (vscode-file://vscode-app/c:/Users/[USERNAME_REMOVED]/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:207365)
at we._deliver (vscode-file://vscode-app/c:/Users/[USERNAME_REMOVED]/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at we.fire (vscode-file://vscode-app/c:/Users/[USERNAME_REMOVED]/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at Rrt.fire (vscode-file://vscode-app/c:/Users/[USERNAME_REMOVED]/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4856:12154)
at MessagePort. (vscode-file://vscode-app/c:/Users/[USERNAME_REMOVED]/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:7036:18168)

If I disable Bedrock I can use any of the other models on my Pro Plan.

Steps to Reproduce

  1. Configure Bedrock API Keys
  2. Try to use any of the models
  3. See the error message “We encountered an issue when using your API key: Provider was unable to process your request”

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.5.5 (user setup)
VSCODE Version: 1.99.3
Commit: 823f58d4f60b795a6aefb9955933f3a2f0331d70
Date: 2025-08-25T17:40:25.290Z (9 hrs ago)
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

Yes - Cursor is unusable

I’m having the exact same problem in macbook with a free account, it would be a great way to enhance enterprise adoption to enable bedrock for free users also.

we have switched to claude code at the moment due to this problem

1 Like

Yeah I am facing the exact same issue. Is it possible to get it fixed soon?

Hey, thanks everyone for the report. I’ve forwarded it to our dev team.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

This morning I rolled the dice and installed the latest update, the previous release had been working fine for weeks. As soon as I reopened the projects which worked fine moments before the update, now all sessions hit the error “The provided model identifier is invalid.”.

I disabled all the model / API keys settings, I re-entered the Access Key ID, Secret Access Key, Region (ap-southeast-1) and Test Model (apac.anthropic.claude-sonnet-4-20250514-v1:0). Toggled the option on. Tried prompting again, same error. Restarted Cursor, prompted again, same error.

Disabling AWS Bedrock keys, and picking another model, e.g. “claude-sonnet-4” or “gpt-5” and everything works as expected.

I validated that the keys are working with a Python test script, I checked the same keys and model selection are working in Cline, all good. Switched back to Cursor and there’s literally nothing I can do to get past this error.

I had some urgent work to rush out, so I switched off API keys and used my Pro subscription, but for context, my AWS Bedrock token costs are running about $400/day – and I cannot expense payments made directly to Cursor.

Screenshot shows my model selection, that AWS Bedrock keys are enabled and I pasted an excerpt from my Cursor Billing/Usage which shows the “All Raw Events” backend is seeing my AWS Bedrock model selection but states “Errored, Not Charged”.

I’m afraid that Cursor is completely unusable for AWS Bedrock users right now.

Steps to Reproduce

  1. Update to v1.5.5
  2. Toggle on “AWS Bedrock” with valid keys
  3. Select an AWS Bedrock model (apac.anthropic.claude-sonnet-4-20250514-v1:0)
  4. Type anything into the Cursor chat/agent window.
  5. Observe the “The provided model identifier is invalid.” error.

Expected Behavior

AWS Bedrock bring-your-own-keys to work, or at least produce useful error messages.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.5.5
VSCode Version: 1.99.3
Commit: 823f58d4f60b795a6aefb9955933f3a2f0331d70
Date: 2025-08-25T17:40:25.290Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

Additional Information

Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We encountered an issue when using your API key: Provider was unable to process your request\n\nAPI Error:\n\n\nThe provided model identifier is invalid.\n”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at rol.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4869:318559)
at tgr._doInvokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:211942)
at tgr._invokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:211684)
at tgr._receiveRequest (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:210449)
at tgr._receiveOneMessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:209271)
at M_t.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:207365)
at we._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at we.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at Rrt.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4856:12154)
at MessagePort. (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7036:18168)

Does this stop you from using Cursor

Yes - Cursor is unusable

I just repeated my tests with several versions of Cursor. Given this was working up until yesterday. Could there be some sort of server-side changes that are now impacting all versions attempts to use AWS Bedrock models?

Cursor 1.4

Version: 1.4.2 (Universal)
VSCode Version: 1.99.3
Commit: d01860bc5f5a36b62f8a77cd42578126270db340
Date: 2025-08-07T17:16:23.005Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

Request ID: 94f29687-6b75-46ae-9423-df5bddf7e64e
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We encountered an issue when using your API key: Provider was unable to process your request\n\nAPI Error:\n\n\nThe provided model identifier is invalid.\n”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at mel.$endAiConnectTransportReportError (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20v1.4.2.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4918:251962)
at Zlr._doInvokeHandler (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20v1.4.2.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:493:20860)
at Zlr._invokeHandler (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20v1.4.2.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:493:20602)
at Zlr._receiveRequest (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20v1.4.2.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:493:19367)
at Zlr._receiveOneMessage (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20v1.4.2.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:493:18189)
at TSt.value (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20v1.4.2.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:493:16283)
at ve._deliver (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20v1.4.2.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at ve.fire (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20v1.4.2.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at Mst.fire (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20v1.4.2.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4905:12154)
at d.onmessage (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20v1.4.2.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7030:18167)

Cursor 1.4 Nightly

Version: 1.4.202508260106-nightly
VSCode Version: 1.99.3
Commit: 0840873a736fa624692d476a3d6101390ef9a869
Date: 2025-08-26T01:10:59.477Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

Request ID: e0931893-3ec9-41b3-9b10-86978dd206b1
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We encountered an issue when using your API key: Provider was unable to process your request\n\nAPI Error:\n\n\nThe provided model identifier is invalid.\n”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at ONc.$endAiConnectTransportReportError (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20Nightly%20v1.4.20250826.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4916:272429)
at sko._doInvokeHandler (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20Nightly%20v1.4.20250826.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:536:12615)
at sko._invokeHandler (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20Nightly%20v1.4.20250826.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:536:12357)
at sko._receiveRequest (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20Nightly%20v1.4.20250826.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:536:11119)
at sko._receiveOneMessage (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20Nightly%20v1.4.20250826.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:536:9936)
at V3t.value (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20Nightly%20v1.4.20250826.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:536:8017)
at ye._deliver (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20Nightly%20v1.4.20250826.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at ye.fire (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20Nightly%20v1.4.20250826.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at jEt.fire (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20Nightly%20v1.4.20250826.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4887:11488)
at MessagePort. (vscode-file://vscode-app/Users/mcutler/Applications/Cursor%20Nightly%20v1.4.20250826.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7350:19341)

Cursor 1.6 Nightly

Version: 1.6.0-dev.16
VSCode Version: 1.99.3
Commit: 0f4e1bbc86ec1d4e1df3291d00e1630ca8c30ee0
Date: 2025-08-26T08:18:39.043Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

Request ID: aee1ef7c-6ed2-49a5-a74c-57d4ba0a42af
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We encountered an issue when using your API key: Provider was unable to process your request\n\nAPI Error:\n\n\nThe provided model identifier is invalid.\n”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at Dal.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4816:318566)
at ifr._doInvokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:217496)
at ifr._invokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:217238)
at ifr._receiveRequest (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:216003)
at ifr._receiveOneMessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:214825)
at J_t.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:212919)
at ye._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at ye.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at jrt.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4803:12154)
at MessagePort. (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6995:18168)

@mjc We are looking into the issue. I will add your new reports to the issue.

1 Like

It seems the issue has just been fixed with the custom model (I had the same issue 2 hours ago, but it is good now), however, with the built-in model (Claude 4 Sonet), I still have the same error.

I think you need to disable your API key to use the models from your subscription.

@deanrie, can I use my API key in MAX Mode as well as a background agent?

On the other hand,

  • If it is not possible to use the built-in model via API Key, I think it should be automatically understood to use a request from the subscription (should not fail)
  • If it is possible to use (still Anthropic) then it should not fail.

I mean, built-in mode should not fail anyway.

Oddly enough, it was working for a few hours this morning Singapore Time (SGT) and now just suddenly stopped working again mid agent session. Nothing changed, no config changes or software updates.

Cursor 1.5

Version: 1.5.5
VSCode Version: 1.99.3
Commit: 823f58d4f60b795a6aefb9955933f3a2f0331d70
Date: 2025-08-25T17:40:25.290Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

Request ID

Request ID: 099d4593-ba18-474f-8064-3adf4c9e2783
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We encountered an issue when using your API key: Provider was unable to process your request\n\nAPI Error:\n\n\nThe provided model identifier is invalid.\n”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [invalid_argument] Error
at rol.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4869:318559)
at tgr._doInvokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:211942)
at tgr._invokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:211684)
at tgr._receiveRequest (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:210449)
at tgr._receiveOneMessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:209271)
at M_t.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:207365)
at we._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at we.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at Rrt.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4856:12154)
at MessagePort. (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7036:18168)

All Raw Events