After I upgraded Cursor to v2.4.22, I found that the previous access via the BYOK method started throwing errors. What could be the reason for this? Does Cursor no longer support the BYOK mode?
Request ID: 0514c689-0c20-4a46-8c7d-0b8c6bdd236d
{“error”:“ERROR_UNAUTHORIZED”,“details”:{“title”:“Unauthorized request.”,“detail”:“No authorization header found”,“isRetryable”:false,“additionalInfo”:{},“buttons”:[],“planChoices”:[]},“isExpected”:true}
Unauthorized request. No authorization header found
kje: Unauthorized request. No authorization header found
at Gmf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9095:38045)
Bug Report Template - Click to expand
Where does the bug appear (feature/product)?
-
Cursor IDE
-
Cursor CLI
-
Background Agent (GitHub, Slack, Web, Linear)
-
BugBot
-
Somewhere else…
Describe the Bug
After I upgraded Cursor to v2.4.22, I found that the previous access via the BYOK method started throwing errors. ERROR_UNAUTHORIZED
Steps to Reproduce
-
upgrade to newest version
-
talk in agent mode and got fail
Screenshots / Screen Recordings
If applicable, attach images or videos (.jpg, .png, .gif, .mp4, .mov)
Operating System
-
Windows 10/11
-
MacOS
-
Linux
Version Information
-
For Cursor IDE: Menu → About Cursor → Copy
-
For Cursor CLI: Run
agent aboutin your terminal
Version: 2.4.22 (Universal)
VSCode Version: 1.105.1
Commit: 618c607a249dd7fd2ffc662c6531143833bebd40
Date: 2026-01-26T22:51:47.692Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin x64 23.4.0
For AI issues: which model did you use?
myself model, named “internal-model-sonnect-aws“
For AI issues: add Request ID with privacy disabled
Request ID: 0514c689-0c20-4a46-8c7d-0b8c6bdd236d
{“error”:“ERROR_UNAUTHORIZED”,“details”:{“title”:“Unauthorized request.”,“detail”:“No authorization header found”,“isRetryable”:false,“additionalInfo”:{},“buttons”:[],“planChoices”:[]},“isExpected”:true}
Unauthorized request. No authorization header found
kje: Unauthorized request. No authorization header found
at Gmf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9095:38045)
at Hmf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9095:37251)
at rpf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9096:4395)
at fva.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9096:8170)
at async Hyt.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34196:57047)
at async Zpc.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34245:7695)
at async Zpc.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34245:8436)
at async FTe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9170:14575)
at async Ei (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:32994:3808)
Additional Information
Add any other context about the problem here.
Does this stop you from using Cursor?
-
Yes - Cursor is unusable
-
Sometimes - I can sometimes use Cursor
-
No - Cursor works, but with this issue