AshwinPathi / claude-api-py

Unofficial Python API for Anthropic's Claude LLM
https://pypi.org/project/claude-api-py/
MIT License
108 stars 11 forks source link

HTTP Error 403: Forbidden #23

Open BigRabit12138 opened 10 months ago

BigRabit12138 commented 10 months ago

I got 'HTTP Error 403: Forbidden' when send message to claude, does Anthropic ban this way?

jiaxilv commented 10 months ago

I had the same problem too...

BigRabit12138 commented 10 months ago

this repo "https://github.com/st1vms/unofficial-claude2-api" works for me.

1024bit commented 10 months ago

+1

jiaxilv commented 10 months ago

this repo "https://github.com/st1vms/unofficial-claude2-api" works for me.

Thanks! It works for me too!

st1vms commented 10 months ago

Glad to hear that my project works for you :heart:

Most of the times that error comes from IP location restriction (US/UK), it works sporadically on other locations. But usually it may also arise when repetitive prompts/attachments gets sent over a short period of time.

AshwinPathi commented 4 months ago

@BigRabit12138 @1024bit @jiaxilv try now.