[BUG] Unable to connect to Anthropic services

Resolved 💬 3 comments Opened Mar 24, 2026 by ipnuboyok Closed Mar 27, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

windows 11
irm https://claude.ai/install.ps1 | iex
claude
Welcome to Claude Code v2.1.81
…………………………………………………………………………………………………………………………………………………………

  • █████▓▓░
  • ███▓░ ░░

░░░░░░ ███▓░
░░░ ░░░░░░░░░░ ███▓░
░░░░░░░░░░░░░░░░░░░ * ██▓░░ ▓
░▓▓███▓▓░

  • ░░░░

░░░░░░░░
░░░░░░░░░░░░░░░░
█████████ *
██▄█████▄██ *
█████████ *
…………………█ █ █ █………………………………………………………………………………………………………………

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
有vpn能本地可以正常访问https://www.anthropic.com/

What Should Happen?

如何才能正常使用claude code ?

Error Messages/Logs

Steps to Reproduce

1.irm https://claude.ai/install.ps1 | iex

  1. claude -v

2.1.81 (Claude Code)
3.claude
Unable to connect to Anthropic services
Failed to connect to api.anthropic.com: ERR_BAD_REQUEST

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

v2.1.81

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗