-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
I was unable to send PNG image through the API, return 403 error:
[403] Unable to prepare file attachment -> Image.png
Reason: ��5��..Code Example unofficial-claude-api version: 0.3.3
from claude_api.client import ClaudeAPIClient
from claude_api.session import SessionData
COOKIE = "user_cookie_here"
USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
ORG_ID = "organization_id_here"
session = SessionData(COOKIE, USER_AGENT, ORG_ID)
client = ClaudeAPIClient(session)
chat_id = client.create_chat()
res = client.send_message(
chat_id,
"Please describe this image.",
attachment_paths=["Image.png"]
)- Would be great to have settings
extendedthinking mode.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed