warp icon indicating copy to clipboard operation
warp copied to clipboard

Antropic Api Error

Open MP3GMike opened this issue 1 year ago • 3 comments

Pre-submit Checks

Describe the bug

I have this error when I choose "auto" in model: Response stream finished unexpectedly with internal error: Anthropic API error: POST "https://api.anthropic.com/v1/messages": 400 Bad Request (Request-ID: req_011CVKWY6Ue1FZoyBfkgAqyc) {"type":"error","error":{"type":"invalid_request_error","message":"messages.4.content.0.pdf.source.base64.data: A maximum of 100 PDF pages may be provided."},"request_id":"req_011CVKWY6Ue1FZoyBfkgAqyc"}

Debug information: {"conversation_id":"df91d83c-f111-4d95-84bf-b32c42f83324"}

To reproduce

I've loaded a 125 pages pdf and then all the time I have this error

Expected behavior

No response

Screenshots, videos, and logs

No response

Operating system (OS)

Windows

Operating system and version

Windows 11

Shell Version

No response

Current Warp version

No response

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

MP3GMike avatar Nov 20 '25 17:11 MP3GMike

I have the same issue:

I'm sorry, I couldn't complete that request.

Response stream finished unexpectedly with internal error: Anthropic API error: POST "https://api.anthropic.com/v1/messages": 400 Bad Request (Request-ID: req_011CVfqFFvUfJYMH1MNBuV42) {"type":"error","error":{"type":"invalid_request_error","message":"messages.24.content.0.pdf.source.base64.data: A maximum of 100 PDF pages may be provided."},"request_id":"req_011CVfqFFvUfJYMH1MNBuV42"}

JoCriSem avatar Dec 01 '25 10:12 JoCriSem

I got the same error message:

I'm sorry, I couldn't complete that request.

Response stream finished unexpectedly with internal error: Anthropic API error: POST "https://api.anthropic.com/v1/messages": 400 Bad Request (Request-ID: req_011CVmJjUt2ofJBjjScraEiQ) {"type":"error","error":{"type":"invalid_request_error","message":"messages.46.content.0.image.source.base64.data: Image does not match the provided media type image/png"},"request_id":"req_011CVmJjUt2ofJBjjScraEiQ"}
Image

warp_preview-logs.tar.gz

warp-logs.tar.gz

krillavilla avatar Dec 04 '25 08:12 krillavilla

HI there,

Seems Anthropic has some PDF limits of 100 pages or 32mb per file, read more about their limits here.

leesa-ui-w avatar Jan 22 '26 18:01 leesa-ui-w