claude-api-py
claude-api-py copied to clipboard
HTTP Error 403: Forbidden
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.