Morning all
Found this page as I'm having the same issue. I'm working through the same MS Learn module as the OP and have run into the same issue. However, I've followed your guidance here @JoeF-MSFT and am still getting the base64 error. I've switched over the new AI connector as you advised, and also added the inline processing condition for signatures re your link, but no joy? I've also tried outwith the Test funcionality, but same thing. Not allowed to upload image apparently, so link here: imgur.com/a/1uZRPs3
My test sender is gmail and it appears to be sending as a multi-part HTML. As we can see, base64 encoded..
Any ideas? Thanks
Also tried as this, but same outcome: https://powerusers.microsoft.com/t5/General-Power-Automate/InvalidPredictionInput-amp-quot-amp-quot-message-amp-quot-amp/m-p/719861/highlight/true#M59338
Content-Type: application/pdf; name="Contoso_INVOICE_(WingTip).pdf"
Content-Disposition: attachment; filename="Contoso_INVOICE_(WingTip).pdf"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_kmqjy56v0
{
"error": {
"code": "0x80040265",
"message": "{\"operationStatus\":\"Error\",\"error\":{\"type\":\"Error\",\"code\":\"InvalidPredictionInput\",\"message\":\"The base 64 binary content is missing for input single\",\"properties\":{\"BackendErrorCode\":\"InvalidInferenceInput\",\"DependencyHttpStatusCode\":\"400\"},\"innerErrors\":[{\"scope\":\"Record\",\"target\":\"single\",\"code\":\"InvalidRecord\",\"type\":\"Error\",\"properties\":{\"MlIssueCode\":\"InvalidRecord\",\"MlIssueTarget\":\"single\"}}]}}"
}
}
Tried various things, this is latest iteration:
{
"inputs": {
"host": {
"connectionName": "shared_commondataserviceforapps",
"operationId": "aibuilderpredict_formsprocessing",
"apiId": "/providers/Microsoft.PowerApps/apis/shared_commondataserviceforapps"
},
"parameters": {
"recordId": "a606dcf0-3f48-4aa9-a782-f869921ccbab",
"item/requestv2/mimeType": "@items('Apply_to_each')?['contentType']",
"item/requestv2/base64Encoded": "@items('Apply_to_each')?['contentBytes']"
},
"authentication": "@parameters('$authentication')"
},
"metadata": {
"flowSystemMetadata": {
"portalOperationId": "aibuilderpredict_formsprocessing",
"portalOperationGroup": "aibuilder",
"portalOperationApiDisplayNameOverride": "AI Builder",
"portalOperationIconOverride": "https://psuxemea.azureedge.net/Content/Images/DesignerOperations/aiBuilder.png",
"portalOperationBrandColorOverride": "#742775",
"portalOperationApiTierOverride": "Standard"
}
}
}
Screenshot here