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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / AI Builder - Extract I...
Power Automate
Suggested Answer

AI Builder - Extract Information from Documents" Not Working

(2) ShareShare
ReportReport
Posted on by 4
Hi, I'm relatively new to the power platform and this is my first attempt at building an AI model for automation. When I created the first cloud flow and tested it I got the following error;
 
{"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}

What I am attempting to do is to extract information from a PDF file which contains certain data and populate that information in to an excel table.
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Jon Unzueta Profile Picture
    1,834 Super User 2026 Season 1 on at
     

    Thanks for sharing the error and your goal — you're on a great learning path with Power Platform and AI Builder! Let's break down the issue and guide you toward a working solution.


    ❌ Error Explanation

    The error message:

    "InvalidPredictionInput": "The base 64 binary content is missing for input single"

    means that the AI model (likely a form processing model) expected a PDF file in base64 format, but it didn’t receive it correctly.


    ✅ What You’re Trying to Do

    You want to:

    1. Receive a PDF file.
    2. Extract structured data from it (e.g., invoice, order, etc.).
    3. Populate an Excel table with that data.

    🛠️ How to Fix It

    ✅ 1. Ensure the PDF is passed correctly to the AI model

    If you're using a form processing model, it expects the PDF file as a base64-encoded binary. In Power Automate:

    • Use the "Get file content" action (e.g., from SharePoint, OneDrive, or email).
    • Pass the output to the AI Builder "Predict" action.

    Example flow:

    Trigger → Get file content → AI Builder Predict → Parse results → Add row to Excel

    Make sure the "File Content" field in the Predict action is filled with the output from "Get file content".


    ✅ 2. Use the correct AI model type

    • If your PDF has a consistent layout (e.g., invoices, forms), use Form Processing.
    • If you're extracting text from unstructured documents, use Document Processing or Custom AI model.

    ✅ 3. Excel Table Setup

    • Create an Excel file with a table (Insert → Table).
    • Use "Add a row into a table" action in Power Automate.
    • Map the extracted fields from the AI model to the Excel columns.

    🧪 Test It Step-by-Step

    1. Upload a sample PDF to SharePoint or OneDrive.
    2. Create a flow:
      • Trigger: Manual or file upload.
      • Get file content.
      • Predict with AI Builder.
      • Add row to Excel.
    3. Run the flow and check each step’s output.
    🏷️ Tag me if you have any further questions or if the issue persists. ✅ Click "Accept as Solution" if my post helped resolve your issue—it helps others facing similar problems. ❤️ Give it a Like if you found the approach useful in any way.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 801

#2
Valantis Profile Picture

Valantis 602

#3
Haque Profile Picture

Haque 581

Last 30 days Overall leaderboard