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 Apps / How to AI Builder extr...
Power Apps
Answered

How to AI Builder extra PDF file when the file store on OneDrive?

(0) ShareShare
ReportReport
Posted on by 39

Hi all

 

I use the template "Extract text from images or PDF documents using AI Builder Text Recognition" and want to change it from manual trigger to auto-download pdf to OneDrive. Then let AI Builder read that file but fail on AI Builder Text Recognition. I think it's related to AI Builder cannot read OneDrive files. Anyone can help to provide an idea to me? Tks

 

hankycheng0621_0-1644460150985.png

 

Categories:
I have the same question (0)
  • hankycheng0621 Profile Picture
    39 on at

    {"operationStatus":"Error","error":{"type":"Error","code":"InvalidPredictionInput","message":"InvalidImage. The file submitted couldn't be parsed. This can be due to one of the following reasons: the file format is not supported ( Supported formats include JPEG, PNG, BMP, PDF and TIFF), the file is corrupted or password protected.","properties":{"BackendErrorCode":"InvalidInferenceInput","DependencyHttpStatusCode":"400"},"innerErrors":[{"scope":"Record","target":"single","code":"InvalidRecord","type":"Error","properties":{"InnerErrorCode":"InvalidImage","MlIssueCode":"InvalidRecord","MlIssueTarget":"single"}}]}}

  • Verified answer
    Antrod Profile Picture
    Microsoft Employee on at

    Hi @hankycheng0621,

     

    You need to pass the file content to AI Builder, not the file path. For that you can use the Get file content action from OneDrive connector:

     

    Antrod_0-1644497622550.png

     

    Hope that helps.

    Thanks.

  • Verified answer
    hankycheng0621 Profile Picture
    39 on at

    Problem solved, Tks for your help!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard