# Provider returned error:

**URL:** <https://forum.cursor.com/t/provider-returned-error/154256>\
**Category:** Bug Reports\
**Tags:** chat, anthropic\
**Created:** [March 10, 2026, 9:56am UTC](https://forum.cursor.com/t/provider-returned-error/154256 "2026-03-10T09:56:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![duchuang](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@duchuang](https://forum.cursor.com/u/duchuang)\
**Post date:** [March 10, 2026, 9:56am UTC](https://forum.cursor.com/t/provider-returned-error/154256/1 "2026-03-10T09:56:22Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

This issue occurs when using the built-in model, but no errors are reported with third-party models. Provider returned error: {“error”:{“code”:“1214”,“message”:“tools[0].type:type cannot be empty.”}} Request ID: ff627d44-37d5-4e27-bd0f-1658f506ec87  
{“error”:“ERROR\_PROVIDER\_ERROR”,“details”:{“title”:“Provider Error”,“detail”:“Provider returned error: {"error":{"code":"1214","message":"tools[0].type:type cannot be empty."}}”,“isRetryable”:false,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}  
Provider Error Provider returned error: {“error”:{“code”:“1214”,“message”:“tools[0].type:type cannot be empty.”}}  
IAi: Provider Error Provider returned error: {“error”:{“code”:“1214”,“message”:“tools[0].type:type cannot be empty.”}}  
at o5A (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34244:23670)  
at r5A (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34244:22658)  
at m5A (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34245:6285)  
at kou.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34245:10400)  
at async \_Oa.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46808:10024)  
at async N3u.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46862:9277)  
at async N3u.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46862:13663)  
at async bMe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34305:17597)  
at async Ea (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:45787:4826)

### Steps to Reproduce

In the dialog box, after selecting Claude 4.6 and entering content, an error message appears.  
Provider returned error: {“error”:{“code”:“1214”,“message”:“tools[0].type:type cannot be empty.”}}

### Operating System

MacOS

### Version Information

Version: 2.6.14  
VSCode Version: 1.105.1  
Commit: eb1c4e0702d201d1226d2a7afb25c501c2e56080  
Date: 2026-03-08T15:36:54.709Z  
Build Type: Stable  
Release Track: Default  
Electron: 39.6.0  
Chromium: 142.0.7444.265  
Node.js: 22.22.0  
V8: 14.2.231.22-electron.0  
OS: Darwin arm64 25.3.0

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 10, 2026, 10:04am UTC](https://forum.cursor.com/t/provider-returned-error/154256/3 "2026-03-10T10:04:23Z")

</div>

Hey, thanks for the report.

The `tools[0].type:type cannot be empty` error points to a formatting issue on our side when we send tool definitions to the model provider. A few questions to narrow it down:

- Does this happen in all projects, or only one specific project?
- Do you have any MCP servers set up (Cursor Settings \> MCP)?
- Does starting a brand new chat (not continuing an existing one) also trigger the error?
- Does anything change after restarting Cursor?

Also, could you try switching to a different built-in model (for example, GPT-5) to see if this is specific to Claude?

Let me know your answers to the questions above, and that’ll help us figure out what’s causing it.

---

<div class="post-metadata">

**Author:** ![duchuang](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@duchuang](https://forum.cursor.com/u/duchuang)\
**Post date:** [March 10, 2026, 11:27am UTC](https://forum.cursor.com/t/provider-returned-error/154256/5 "2026-03-10T11:27:16Z")

</div>

1.all projects

2.install laravel/boost,But even closing it doesn’t work, and uninstalling and reinstalling cursor doesn’t work either.

3.Even opening a new chat window doesn’t work. Not even restarting

4.This problem did not occur when using a custom model.

---

<div class="post-metadata">

**Author:** ![Edmond\_Dantes](https://avatars.discourse-cdn.com/v4/letter/e/87869e/32.png) [@Edmond\_Dantes](https://forum.cursor.com/u/Edmond_Dantes)\
**Post date:** [March 10, 2026, 7:50pm UTC](https://forum.cursor.com/t/provider-returned-error/154256/6 "2026-03-10T19:50:43Z")

</div>

I have the same problem.  
Provider returned error: {“error”:{“code”:“1214”,“message”:“tools[0].type:type cannot be empty.”}}

Request ID: d3a710d5-c664-42fc-95ea-7d1fa2839849

I have tried to change the model, change the prompt itself, restart Cursor and restart PC.

I was trying to make a “plan”.

I am working on windows.

---

<div class="post-metadata">

**Author:** ![duchuang](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@duchuang](https://forum.cursor.com/u/duchuang)\
**Post date:** [March 12, 2026, 3:33pm UTC](https://forum.cursor.com/t/provider-returned-error/154256/8 "2026-03-12T15:33:23Z")

</div>

Is there any solution?

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [April 3, 2026, 3:33pm UTC](https://forum.cursor.com/t/provider-returned-error/154256/9 "2026-04-03T15:33:56Z")

</div>

Closed on April 3, 2026, 3:33pm UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
