GithubHelp home page GithubHelp logo

HTTP Error 403: Forbidden about claude-api-py HOT 6 OPEN

codemurt avatar codemurt commented on July 28, 2024 3
HTTP Error 403: Forbidden

from claude-api-py.

Comments (6)

sakurakoujirabbit avatar sakurakoujirabbit commented on July 28, 2024 1

I have the same problem.
[17-Mar-24 18:10:48:root:WARNING][claude_client.py:304 - get_organizations() ] Failed response object: Response(ok=False, data=b'', status_code=None, error='HTTP Error 403: Forbidden')
None

from claude-api-py.

gerkim62 avatar gerkim62 commented on July 28, 2024 1

same case here

from claude-api-py.

jensen1207 avatar jensen1207 commented on July 28, 2024 1

same error that happened since last Friday

from claude-api-py.

AshwinPathi avatar AshwinPathi commented on July 28, 2024

Could you dump the logs, try a different session key, or try a different account?

from claude-api-py.

AshwinPathi avatar AshwinPathi commented on July 28, 2024

same, probably some additional headers or security was added recently.

from claude-api-py.

AshwinPathi avatar AshwinPathi commented on July 28, 2024

@jensen1207 @gerkim62 @sakurakoujirabbit @codemurt

The problem is anthropic uses cloudflare cookies to prevent bots. These cookies refresh periodically, so this probably isn't a permanent solution. The "real" best way to solve this would be to completely mock the browser or find some way to bypass cloudflare cookies. The former is too heavyweight and the latter might be difficult.

Since this is also kind of against their TOS, I don't think I can comment more.

from claude-api-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.