旋风爆裂果 (@ethan9) 在 Claude Code 错误:Unable to connect to Anthropic services, Failed to connect to api.anthropic.com: ERR_BAD_REQUEST 中发帖
使用 cc switch 的时候连接站内的中转站一直出现连接服务器失败,设置了 setting.json 仍然连接失败。
错误日志:
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 https://anthropic.com/supported-countries
解决方案:
在用户目录下 C:\Users\xxx\.claude.js...