web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Invoice processing - B...
Power Automate
Unanswered

Invoice processing - BadRequest Error - Custom Flow

(1) ShareShare
ReportReport
Posted on 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 

Categories:
I have the same question (0)
  • CU22041525-0 Profile Picture
    89 on at

    Hi @Plamena !

    NathanAlvares23_0-1698385980870.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:

    NathanAlvares23_2-1698386827546.png

    If this helps & solves your problem, please remember to give a NathanAlvares23_1-1698386576144.png and accept my solution as it will help others in the future.

     

    Thanks,

    Nathan Alvares

  • Verified answer
    NathanAlvares24 Profile Picture
    1,714 Moderator on at

    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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard