Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Provider returned error: {“error”:{“code”:“validation_error”,“message”:“Failed to deserialize the JSON body into the target type: ?[6]: Invalid ‘tools’: missing field custom at line 1 column 108265”,“param”:null,“type”:“invalid_request_error”}}
Steps to Reproduce
I use AWS mantle endpoint in the open AI and with my secret
Operating System
MacOS
Version Information
Version: 3.13.6
VS Code Extension API: 1.128.0
Commit: c0f61a2f075ef9df63f57ab7b235df70390ccb90
Date: 2026-07-22T21:39:45.624Z
Layout: IDE
Build Type: Stable
Release Track: Nightly
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.5.0
For AI issues: add Request ID with privacy disabled
Request ID: 87d608bc-78e7-4ba8-b415-a4f7a1e0953f
{“error”:“ERROR_PROVIDER_ERROR”,“details”:{“title”:“Provider Error”,“detail”:“Provider returned error: {"error":{"code":"validation_error","message":"Failed to deserialize the JSON body into the target type: ?[6]: Invalid ‘tools’: missing field custom at line 1 column 108265","param":null,"type":"invalid_request_error"}}”,“isRetryable”:false,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
Provider Error Provider returned error: {“error”:{“code”:“validation_error”,“message”:“Failed to deserialize the JSON body into the target type: ?[6]: Invalid ‘tools’: missing field custom at line 1 column 108265”,“param”:null,“type”:“invalid_request_error”}}
NonRetriableError: Provider Error Provider returned error: {“error”:{“code”:“validation_error”,“message”:“Failed to deserialize the JSON body into the target type: ?[6]: Invalid ‘tools’: missing field custom at line 1 column 108265”,“param”:null,“type”:“invalid_request_error”}}
at kcb (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9450:6779)
at QAr (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9450:5416)
at TRm (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9451:12006)
at Object.classify (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9451:16538)
at Tcb (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9451:5856)
at async TOa.runWithSharedTurnRunner (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9451:15890)
at async Pq.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:12149:23004)
at async s1l.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:18421:15093)
at async s1l.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:18421:24917)
at async N5e.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9615:2492)
Does this stop you from using Cursor
Yes - Cursor is unusable