> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thirdcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code

### 无法抓取网站，WebFetch/Fetch无法访问

使用Claude Code的时候可能会遇到网页无法读取的情况，并提示如下错误：

```text theme={null}
Fetch(https://docs.thirdcloud.io)
  ⎿  Error: Unable to verify if domain docs.thirdcloud.io is safe to fetch. This
      may be due to network restrictions or enterprise security policies 
     blocking claude.ai.
```

这主要是因为 Claude Code 的 WebFetch 预检失败：它在抓 网站 前，会先把域名发到 api.anthropic.com 做安全校验；你的网络/企业策略挡住了这个校验，所以它还没真正访问网站就失败了。

#### 解决方案

* 如果你使用cc switch，可以直接在cc switchde 供应商编辑中添加如下配置

```text theme={null}
  "skipWebFetchPreflight": true,
```

<img src="https://mintlify.s3.us-west-1.amazonaws.com/thirdcloud/faq/claudecode/1.png" alt="" />

* 你也可以直接修改Claude Code 配置文件
  * 配置路径：\~/.claude/settings.json
* 修改完成后重启一下claude code 即可正常使用
