Claude Code 无法连接到 Anthropic 服务
·
错误表现:
Unable to connect to Anthropic services
Failed to connect to api.anthropic.com: ERR_BAD_REQUEST

解决方式:
在windows系统中:
1. win+R,输入cmd,再enter
2. 输入
powershell -Command "$f='%USERPROFILE%\.claude.json';$j=Get-Content $f|ConvertFrom-Json;$j|Add-Member -NotePropertyName 'hasCompletedOnboarding' -NotePropertyValue $true -Force;$j|ConvertTo-Json|Set-Content $f"

更多推荐
所有评论(0)