Claude AI / PDF

Using following code to upload PDF file to Claude AI:

CloudAI.Files.Clear;
CloudAI.UploadFile(txtFile.Text, aiftPDF);

Following error comes:

I'am completely new to using AI component, what is missing there?

First thing I can think of is that your PDF is outside the Claude limits?

Requirement Limit
Maximum request size 32MB
Maximum pages per request 100
Format Standard PDF (no passwords/encryption)

PDF size is 243kb, page count is 3, no password protection.

When upload PDF to Claude website AI, all works fine

We have investigated this and seen that Claude apparently did a change in the requirements of the endpoint to upload files. We have fixed this now. Next update will address this.

Thanks, now works fine.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.