web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details
Power Automate - AI Builder
Answered

Invoice processing - BadRequest Error - Custom Flow

Like (1) ShareShare
ReportReport
Posted on 6 Sep 2023 11:01:33 by 9

Hi AI Builder Community,

 

I am having the below error message when testing my custom made flow for invoice processing to fetch data from the pdf to excel. Is this an issue with the AI builder or the flow?

Please help with some guidance to fix. 

BTW I posted also into the group Building Flow and they re-directed me here. Here is my older post to the topic. I tried the suggested but it is still not working. 

https://powerusers.microsoft.com/t5/Building-Flows/Extract-text-from-pdf-into-excel-and-send-email-with-the-pdf/m-p/2331987/emcs_t/S2h8ZW1haWx8bWVudGlvbl9zdWJzY3JpcHRpb258TE01NkJEMTVUQzRXNlZ8MjMzMTk4N3xBVF9NRU5USU9OU3xoSw#M259319

 

  "error": {
    "code""0x80048d0b",
    "message""{\"operationStatus\":\"Error\",\"error\":{\"type\":\"Error\",\"code\":\"InvalidPredictionInput\",\"message\":\"The base 64 binary content is missing for input single\",\"properties\":{\"BackendErrorCode\":\"InvalidInferenceInput\",\"DependencyHttpStatusCode\":\"400\"},\"innerErrors\":[{\"scope\":\"Record\",\"target\":\"single\",\"code\":\"InvalidRecord\",\"type\":\"Error\",\"properties\":{\"MlIssueCode\":\"InvalidRecord\",\"MlIssueTarget\":\"single\"}}]},\"predictionId\":null}"
  }
 
Plamena_0-1693998035967.png

 

Thanks

Plamena 

I have the same question (0)
  • Verified answer
    NathanAlvares24 Profile Picture
    1,694 Moderator on 14 Feb 2024 at 11:46:01
    Re: Invoice processing - BadRequest Error - Custom Flow

    Hi @Plamena !

    NathanAlvares24_0-1707911115926.png

    When you use the "Extract from Documents" AI model action, instead of providing form type as a specific file type (like how you used "PDF Document"), use the following custom entry: "Attachments Content-Type" from the "Receive attachment (V2)" action.

     

    Another picture below to re-check if this is existing in your flow:

    NathanAlvares24_1-1707911116128.png

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 707 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 499 Moderator

#3
chiaraalina Profile Picture

chiaraalina 312

Last 30 days Overall leaderboard
Loading complete