KoushikNavuluri / Claude-API

This project provides an unofficial API for Claude AI, allowing users to access and interact with Claude AI .
https://pypi.org/project/claude-api/
MIT License
648 stars 112 forks source link

can't get organization_id #70

Closed katncandix2 closed 10 months ago

katncandix2 commented 10 months ago
claude_api = Client(cookie=cookie)

when i try to init a CIient. i got this error :

response = requests.get(url, headers=headers,impersonate="chrome110")
     32     res = json.loads(response.text)
---> 33     uuid = res[0]['uuid']
     34 
     35     return uuid

debug show '{"error":{"type":"permission_error","message":"Invalid authorization"}}'

KoushikNavuluri commented 10 months ago

Please check whether you placed whole cookie or not!

benbaruch1 commented 4 months ago

Did you solve it?