I have setup an AI prompt in AI Builder using input from the new feature "Image or document input (preview)". I have uploaded a PDF file as required for testing. I am now trying to use Power Automate "Get text from GPT" action to pass the same PDF as input to the AI Prompt. However, it always return error as below when I run the Power Automate. Does anyone know who to properly pass the same PDF used in the AI Builder AI prompt using the Power Automate? I have tried using Get file content to read the PDF, followed by converting to base64 but this did not solve the problem. Any suggestion would be greatly appreciated.
"message": "{\"operationStatus\":\"Error\",\"error\":{\"type\":\"Error\",\"code\":\"InvalidPredictionInput\",\"message\":\"Unable to identify the mimetype input\",\"properties\":{\"BackendErrorCode\":\"InvalidInferenceInput\",\"DependencyHttpStatusCode\":\"400\"},\"innerErrors\":[{\"scope\":\"Record\",\"target\":null,\"code\":\"InvalidRecord\",\"type\":\"Error\",\"properties\":{\"MlIssueCode\":\"InvalidRecord\"}}]},\"predictionId\":null}"
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1