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.

Like (2) ShareShare
ReportReport
Posted on 4 Oct 2024 20:42:57 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 16,833 on 05 Oct 2024 at 06:03:38
    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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,316

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,290

Leaderboard
Loading complete