← [ BACK_TO_NOTES ]

claude使用报错

Claude AI使用过程中的报错问题记录

#ai #claude #howto #seed

claude使用报错

[!info] related notes

问题详情

Unable to connect to Anthropic services Failed to connect to api.anthropic.com: ERR_BAD_REQUEST Please check your internet connection and network settings. Note: Claude Code might not be available in your country. Check supported countries at

使用了 clash 代理仍然没有效果

解决方案

以上问题产生一般是因为网络和地区

修改系统地区,语言?

.claude.json配置

"hasCompletedOnboarding": true 添加这一行代码

{
  "numStartups": 2,
  "installMethod": "global",
  "autoUpdates": true,
  "tipsHistory": {
    "new-user-warmup": 2,
    "plan-mode-for-complex-tasks": 2
  },
  "cachedStatsigGates": {
    "tengu_disable_bypass_permissions_mode": false,
    "tengu_tool_pear": false
  },
  "cachedDynamicConfigs": {
    "tengu-top-of-feed-tip": {
      "tip": "",
      "color": ""
    }
  },
  "firstStartTime": "",
  "userID": "",
  "projects": {
  },
  "hasCompletedOnboarding": true // 添加这一行代码
}

我添加完上面的后,能够正确登录,正确连接了,但是在发送问题后会报错

API Error: 403 {"error":{"type":"forbidden","message":"Request not allowed"}} · Please run /login

深度代理

clash 服务模式+TUN模式

信息参考

Clash代理体验Claude

创建于 2025/1/1 更新于 2026/7/15
Digital Biome
Access

键盘导航

j / k / ↑ / ↓
选择对象
Enter / o
打开选择
/ 或 Ctrl+K
全站搜索
i / f / 1–4
筛选当前列表
g → h / l / p / t / a
首页 / 笔记 / 项目 / 工具 / About
r → 1–9
打开所选对象的关联
u
返回上一页
Esc
关闭浮层 / 取消命令;输入框内清空文本