I have a flow that I use often and I have just made a copy of it and am getting the below error:
Conversion of this file to PDF is not supported. (InputFormatNotSupported / Bad request)
While my other flows with this convert file functions (docx to PDF) are still working fine.
I've double checked connectors, document template, removed any special characters but am still getting this error. I'm hoping to use in 12 hours so if anyone has quick advice that would be excellent!
I'm not great at coding but if it helps, here are raw inputs:
{
"host": {
"connectionReferenceName": "shared_onedriveforbusiness",
"operationId": "ConvertFile"
},
"parameters": {
"id": "b!sjBdm6WsWk24wDDjhYw7961MLcN0HLhCtcc7A4kmzmKPeOs_CeX5Sp9hjcOTRyqk.01RK2CAMLLLHKLV27PKZDYCSXGKAPMV3GQ",
"type": "PDF"
}
}
and raw outputs:
{
"statusCode": 406,
"headers": {
"Pragma": "no-cache",
"Transfer-Encoding": "chunked",
"x-ms-request-id": "b6cfa544-8b61-462f-a96a-41dd035abdf6",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "true",
"x-ms-apihub-obo": "false",
"Cache-Control": "no-cache",
"Date": "Wed, 22 Feb 2023 12:00:16 GMT",
"X-AspNet-Version": "4.0.30319",
"X-Powered-By": "ASP.NET",
"Content-Type": "application/json",
"Expires": "-1",
"Content-Length": "165"
},
"body": {
"status": 406,
"message": "Conversion of this file to PDF is not supported. (InputFormatNotSupported / Bad request)",
"source": "api.connectorp.svc.ms"
}
}
Cheers, Nikola