Having problems doing even the simplest of power flow. Followed the online manual and instructions to a T. First did it my way, then reverted back to do it exactly like how the manual online did. Still get the error in the Predict section, so I'm not even sure how it will function in parsing the JSON template provided online, or in the apply to each section.
My first errors were no base64 encode. The manual did say to surround base64 encode with () vs string(), so I wrapped as such.
Here is the code I am currently using in Predict, followed by screenshots.
'
{
"@{base64Encoded(string(triggerBody()?['file']?['contentBytes']))}",
"mimeType": "image/jpeg"
}
'
as you can see, the base64 I made a dynamic function. As said before, I was getting the base64 encode error? as I was just using string() as the dynamic function.


Report
All responses (
Answers (