The error shows the Word document file is being treated as an "unsupported media type" when trying to convert to PDF. This happens because the file content isn't being passed correctly.
Fix the flow:
Check "Get file content" action outputs
The output should be File Content (binary data)
Don't use File content (string) or other outputs
Update "Convert Word Document to PDF" inputs
For the File parameter, use the dynamic content from "Get file content"
Make sure you select the correct output: File Content (not wrapped in any expression)
Verify file metadata
In "Get file content", ensure you're getting the actual .docx file
Check the file isn't corrupted or in an older Word format (.doc)
Common mistakes:
Using Get file content using path instead of Get file content
Selecting wrong dynamic content (like file identifier instead of file content)
Missing the binary file content and passing text/metadata instead
Quick test:
Add a "Compose" action after "Get file content" to inspect what you're getting. Output the File Content and check if it shows binary data or an error.
If the file source is SharePoint, make sure you're using the SharePoint connector's "Get file content" action, not OneDrive or other services.