DU - Generative AI - InvalidImageInput Error

Hello, i’m attempting to create a document extractor using the DU activities and a generative AI extractor.

I’ve created a flow with the following steps:

  1. Folder has 1 invoice
  2. For each file in folder
  3. Path exists
  4. Reference variable created
  5. Extract document data, predefined model, generative.
  6. I have provided one prompt for the invoice number (just to test it’s working, more to be added later).
  7. Output is then displayed in a message box.

When I attempt to run the flow i get the following error: Extract Document Data: Error performing OCR: No valid input file/image specified InvalidInputImage

I get the same error when I try and use classify document.
I have tried 4 different PDF files and they are digital documents

Any ideas why the error is occuring?

I’m currently on Studio: 2023.10.0
dependencies:
“UiPath.DocumentUnderstanding.Activities”: “[2.4.1]”,
“UiPath.Excel.Activities”: “[2.22.2]”,
“UiPath.IntelligentOCR.Activities”: “[6.14.1]”,
“UiPath.Mail.Activities”: “[1.21.1]”,
“UiPath.System.Activities”: “[23.10.2]”,
“UiPath.Testing.Activities”: “[23.10.0]”,
“UiPath.UIAutomation.Activities”: "[23.10.3]

Thanks for your help