OpenAI Extracting Content from a PDF/Image using Structured Output Lambda Error

usman

Member
having an issue when i am trying to extract data fields from an invoice using OpenAI Extracting Content from a PDF/Image using Structured Output. Getting an error invalid response from Lambda, 500.
IMG_0562.jpeg
IMG_0563.jpeg
IMG_0561.jpeg
 

Preeti Paryani

Well-known member
Staff member
Hello @usman,

Please provide us with the workflow URL where you're facing this issue so we can better look into the issue and assist you further.
 

Preeti Paryani

Well-known member
Staff member
Hello @usman,

We have added an extra action step to your workflow to make the file publicly accessible, as the file you were using was not accessible. However, the PDF size exceeds 1 MB, which seems to be causing the issue.

To resolve this, please try:
  • Using single images instead of a large PDF.
  • Using a file with reduced file size.
Kindly test and let us know if it works fine for you.
 
Top