[BUG]
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?
When I tried to connect claude code but getting this below issue:
Please run /login · API Error: 403 Forbidden
I followed all the exact steps mentioned in the documentation.
What Should Happen?
Once after running the command Claude it will prompt for the input when give it will respond as per the input given by user but currently it throws the above-mentioned error.
Error Messages/Logs
Please run /login · API Error: 403 Forbidden
Steps to Reproduce
Setup your environment variables using “Setup environment variables for user account” from Control Panel
Add the following variable to your Path environment variable (you can do this by clicking on “Path” and then clicking “edit”): %AppData%\npm
Add the following variables as individual environment variables (you can do this by clicking “New”, typing the name and value in, and then clicking “Ok”) (this is labeled as name: value)
ANTHROPIC_BASE_URL: https://iliad-emerging-dev-api.abbvienet.com/api/llm
ANTHROPIC_API_KEY: Your Iliad API Key Here
ANTHROPIC_AUTH_TOKEN: Your Iliad API Key Here
DISABLE_TELEMETRY: 1
NODE_TLS_REJECT_UNAUTHORIZED: 0
Open your terminal and run: npm install -g @anthropic-ai/claude-code
Restart your terminal and run: claude
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude Code v2.1.140
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗