claude-api-py icon indicating copy to clipboard operation
claude-api-py copied to clipboard

HTTP Error 403: Forbidden

Open codemurt opened this issue 3 months ago • 6 comments

I'm trying to run this code:

from claude import claude_client
from claude import claude_wrapper
SESSION_KEY = <MY_SESSION_KEY>
client = claude_client.ClaudeClient(SESSION_KEY)
organizations = client.get_organizations()
organizations

but I get this:

WARNING:root:Failed response object: Response(ok=False, data=b'', status_code=None, error='HTTP Error 403: Forbidden')
None

I don't really understand what the problem is.

codemurt avatar Mar 16 '24 16:03 codemurt