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

Status: Open · Asked by Mohammed Usman on · 0 views

usman — Question ·

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.

Preeti Paryani — Reply ·

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 — Reply ·

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.

Back to all forum threads · Log in to reply