Agent chat fails with ERROR_PROVIDER_ERROR (HTTP 400) but the UI says the failure is temporary and retryable

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Request ID: f835d3c9-47c1-4b00-adc1-ff544139fff4
{“error”:“ERROR_PROVIDER_ERROR”,“details”:{“title”:“Provider Error”,“detail”:“We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.”,“isRetryable”:false,“additionalInfo”:{“providerStatusCode”:“400”},“buttons”:,“planChoices”:},“isExpected”:true}
Provider Error We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.
NonRetriableError: Provider Error We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.
at nLf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6924:18512)
at aqs (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6924:16836)
at RLf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6925:13912)
at Object.classify (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6925:17472)
at CLf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6925:6366)
at async vqs.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6925:16779)
at async Wle.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:8318:31468)
at async ZUo.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:17780:17013)
at async ZUo.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:17780:39121)
at async MDe._submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:8296:4491)

Steps to Reproduce

Open Cursor on macOS.
Start an Agent chat (model: Gemini 3.8 Flash).
Submit a prompt.
The request fails before any assistant response is streamed.

Operating System

MacOS

Version Information

OS: macOS 26.6.2 (Build 25G83)
Cursor: v24.18.1

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey @alexdai039, thanks for the report and the request ID!

What’s happening: the Gemini 3.8 Flash response was cut off partway through your agent run, and the automatic retry that follows was rejected by the provider. You’re right that the “temporary, try again” message is misleading there, since retrying the same turn will keep failing. I’ve flagged this to the team.

In the meantime, when you see this error, send a short new message in the same chat (for example “continue”) instead of retrying. That lets the agent pick up where it stopped. If it keeps happening on long runs, switching that chat to another model should avoid it until this is fixed.