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 / Issue using the Azure ...
Power Automate
Unanswered

Issue using the Azure AI Document Intelligence action

(0) ShareShare
ReportReport
Posted on by 33
I am trying to use the Azure AI Document Intelligence (form recognizer) > Analyze Document for Prebuilt or Custom models (v4.x API) action in Power Automate Desktop to use the prebuilt-layout model to extract text from an image file. I am trying to use the Document/Image File Content option (as opposed to the Document Image URL option). 
 
Any ideas?
 
It is failing with the error:
  "StatusCode": "400",
  "Message": "",
  "Body": {
    "error": {
      "code": "InvalidArgument",
      "message": "Invalid argument.",
      "innererror": {
        "code": "ParameterMissing",
        "message": "The parameter urlSource or base64Source is required."
      }
    }
  }
 
Simply, I have tried the following steps
 
I have also tried similar with 
 
The variable BianryData does contain content
 
The API does work if I select the URL option however I can not use this as part of the solution. I need to send the file content.
 
I have this successfully running using the file content in Power Automate (web) configured with:
I have the same question (0)
  • AndrianaO Profile Picture
    213 Moderator on at
    Hi @LukeB
    Never worked with this action before, but there is something suspicious about the error message. It says base64Source  is required. Of course, the documentation clearly says the data type should be binary, but I'd try to convert the variable to base64 just to see if it will change something. 
  • LukeB Profile Picture
    33 on at
     
    There does seem to be a disconnect in regards to what the documentation says versus what the action is looking for which isn't helping. The action itself will only accept a binary and base64 not accepted in the action. Using the API it accepts a base64 not a binary. I have attempted to call the API endpoint directly using Postman and found two interesting things:
    1. The action seems to be performing a POST and a GET (and possibly more). In order to get the information through Postman you need to get information from the header in the POST response to use in the GET request. It could also be converting from binary to base64...
    2. It looks like there is a networking issue of some sort causing 50% of the API calls to fail. 
    Trying to isolate the network issue at the moment and then can re-test the action.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 484

#2
Valantis Profile Picture

Valantis 477

#3
Haque Profile Picture

Haque 456

Last 30 days Overall leaderboard