Skip to main content

Notifications

Power Automate - AI Builder
Answered

Getting an error when using AI Builder Action "Extract information from documents" in my flow.

(2) ShareShare
ReportReport
Posted on by 7
I trained the AI model and successfully tested it, but when i use the AI Builder Action "Extract information from documents" in my flow:
 
 
 
i get the following error:
 
  "error": {
    "code": "0x80048d0b",
    "message": "{\"operationStatus\":\"Error\",\"error\":{\"type\":\"Error\",\"code\":\"InvalidPredictionInput\",\"message\":\"Encountered an issue when reaching Form Recognizer: InvalidRequest\",\"properties\":{\"BackendErrorCode\":\"InvalidInferenceInput\",\"DependencyHttpStatusCode\":\"400\"},\"innerErrors\":[{\"scope\":\"Record\",\"target\":null,\"code\":\"InvalidRecord\",\"type\":\"Error\",\"properties\":{\"ErrorCode\":\"InvalidRequest\",\"MlIssueCode\":\"InvalidRecord\"}}]},\"predictionId\":null}"
  }
 
I don't think there is any problem with the file as i tested the file successfully after finishing the training. One thing i should mention is that the initial training action seemed to get stuck and only finished when i left the training page. 
 
 
Categories:
  • Suggested answer
    Nived_Nambiar Profile Picture
    Nived_Nambiar 17,110 on at
    Getting an error when using AI Builder Action "Extract information from documents" in my flow.
    Hi,
     
    It seems like you have passed file path under Form field of Extract Information from documents. You should have passed file content of that file as input. Refer this documentation for this
     
    You have to use get file content and then pass its output to form field of extract information from document action.
     
     
    Hope it helps !
     
    Thanks & Regards,
    Nived N 
    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs
     Found my answer helpful? Please consider marking it as the solution!
     Your appreciation keeps me motivated. Thank you!

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard