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: