Hello Power Automate Community,
I'm encountering an unexpected issue with my flow that was previously running without any problems. My flow uses the Analyze Document for Prebuilt or Custom models (v4.x API) action to process PDFs, but it now fails with the following error:
Error:
Action 'Analyze_Document_for_Prebuilt_or_Custom_models_(v4.x_API)' failed:
The API 'formrecognizer' returned an invalid response for workflow operation 'Analyze_Document_for_Prebuilt_or_Custom_models_(v4.x_API)' of type 'OpenApiConnection'.
Details: The API operation 'AnalyzeDocumentV40' requires the property 'body' to be of type 'Object' but is of type 'String'.
Here's the JSON being used in the Analyze Document action:
To isolate the issue, I also tried using the file path from the filtered array as the input to the Analyze Document action,
stampcoin
87
Michael E. Gernaey
70
Super User 2025 Season 1
David_MA
48
Super User 2025 Season 1