Error when using v0-1.0-md in cursor: Unauthorized User Openai API key

I successfully started using v0-1.0-md in cursor by adding the key and Base URL in the OpenAI section of the cursor model settings. Eveything worked fine until I resumed my subscription of v0; then suddenly everything stopped working and I get the following error after entering a new message in the AI chat:

“Unauthorized User Openai API key”

When I verify the API key in the settings, the verification is successful and does not find any issues. It also seems to affect other models in cursor. When I have OpenAI key usage activated, the other non OpenAI models (like claude-sonnet-3.7) also start throwing errors (Request failed with status code 500: {“success”:false,“error”:“Unknown error”}.

Looks like using the OpenAI API key section to use v0-1.0-md is still a bit buggy. But I am very confused that it stopped working the resuming the v0 pro subscription.

I already tried several times creating new API keys, refreshing / restarting cursor etc.

Any ideas / similar problems?

Did you know there’s another category dedicated to v0 topics? A human should be here soon to help, but the answer may already be available even faster in one of these other posts.

Our docs are a great place to start.

We also have a walkthrough to help guide your workflow.

And these recordings can give you a look at v0 features and strategies in action shown by our Community:

https://community.vercel.com/tags/c/events/42/v0

It looks like the error only occurs when you send images to v0-1.0-md via the cursor AI chat. Thus, this seems to the bug to fix here.

1 Like

I am having this issue and I am not sending any images to v0-1.0-md via the cursor AI chat. My credits are being deducted and the API says:

We encountered an issue when using your API key: Provider was unable to process your request

API Error: Request failed with status code 500: {“success”:false,“error”:“Unknown error”}

Request ID: 9fbde73c-f189-4d5b-b132-82587e8044a9
{“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\nRequest failed with status code 500: {\"success\":false,\"error\":\"Unknown error\"}\n”},“isExpected”:true}
ConnectError: [invalid_argument] Error
at TEa.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4243:224508)
at vWs.S (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:13557)
at vWs.Q (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:13335)
at vWs.M (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:12423)
at vWs.L (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:11524)
at apt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:10316)
at we.B (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46:2398)
at we.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46:2617)
at bQe.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4225:10378)
at u.onmessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6688:12344)