前言
最近很多使用Cursor AI 编辑器的开发者反馈,调用 AI 功能时突然抛出Provider Error错误,提示We're having trouble finding the resource you requested,导致 AI 代码补全、对话功能完全失效。
本文结合官方文档与实测经验,整理出从简单到复杂的全优先级解决方案,99% 的情况都能快速修复,建议收藏备用!
一、问题再现与完整报错信息
以下是控制台完整报错日志,大家可以对照自查:
Request ID: 6655d755-8c11-4427-b228-668938004f72
{"error":"ERROR_PROVIDER_ERROR","details":{"title":"Provider Error","detail":"We're having trouble finding the resource you requested. If the problem persists, please contact support.","isRetryable":false,"additionalInfo":{},"buttons":[],"planChoices":[]},"isExpected":true}
Provider Error We're having trouble finding the resource you requested. If the problem persists, please contact support.
$Ai: Provider Error We're having trouble finding the resource you requested. If the problem persists, please contact support.
at p9A (vscode-file://vscode-app/d:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34267:23670)
at h9A (vscode-file://vscode-app/d:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34267:22658)
at w9A (vscode-file://vscode-app/d:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34268:6285)
二、报错核心原因分析
该错误和本地代码无关,属于 Cursor 客户端自身问题,核心诱因有 4 点:
三、一站式解决方案(按优先级执行)
✅ 第一优先级:快速修复(30 秒搞定,90% 用户适用)
1. 重启 Cursor 编辑器
直接关闭所有 Cursor 窗口,重新启动软件,重置临时连接会话。
2. 关闭网络代理 / 切换网络
- 开启梯子 / 代理的用户完全关闭代理后重试
- 本地网络异常时,连接手机热点排除网络屏蔽问题
- 临时关闭防火墙 / 杀毒软件,避免拦截请求
3. 重新登录 Cursor 账号
✅ 第二优先级:进阶修复(快速方案无效时使用)
1. 重置 AI 模型配置
2. 更新 Cursor 至最新版
旧版本存在官方接口兼容 Bug,直接前往官网覆盖安装:👉 Cursor 官方下载地址
3. 清除客户端缓存(Windows)
%APPDATA%\\Cursor
✅ 第三优先级:终极排查(官方服务故障)
若以上方案均无效,说明是Cursor 官方服务临时维护:


