Skip to content

Unable to retrieve organization_id | create_chat request error #27

Open
@kqvanity

Description

@kqvanity

when I try to automatically login using selenium, i get the following error (I have two profile at firefox btw, and I sign claude into both of them)

  python3 unofficial-claude-dir/unofficial-claude.py

Retrieving Claude session cookie from /home/keinvanity/.mozilla/firefox/gmpc627g.default-release

Unable to retrieve organization_id from profile: /home/keinvanity/.mozilla/firefox/gmpc627g.default-release
Check if this profile is logged into Claude!
Traceback (most recent call last):
  File "/home/keinvanity/Downloads/UnofficialClaude/unofficial-claude-dir/unofficial-claude.py", line 32, in <module>
    client = ClaudeAPIClient(session, model_name='claude-3-5-sonnet-20240620', timeout=240)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/keinvanity/Downloads/UnofficialClaude/claude/lib/python3.12/site-packages/claude_api/client.py", line 147, in __init__
    raise ValueError("Invalid SessionData argument!")
ValueError: Invalid SessionData argument!

when omitting selenium, and provide the organization id, and session key manually, I get this error instead

  python3 unofficial-claude-dir/unofficial-claude.py

Message limit hit, cannot create chat...

Metadata

Metadata

Assignees

Labels

can't reproduceCan't reproduce the issue (Unable to fix)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions