Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

BadRequest Adobe Connector 'Convert to PDF' Power Automate

Community Beginner ,
Sep 06, 2021 Sep 06, 2021

I have set up convert to PDF using Adobe connector on Microsoft Power Automate

It is not converting the documents to PDF.

 

{
  "error": {
    "code": "OperationException",
    "message": "For application/vnd.openxmlformats-officedocument.wordprocessingml.document mime-type The input file appears to be corrupted and cannot be processed.; transactionId=jOAiCpl8zdvjqJDp8ehSbQQA936a6enU-PowerAutomate"
  }
TOPICS
Document Generation API , PDF Services API , Power Automate
2.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 07, 2021 Sep 07, 2021

Hi, could you please share details about your flow with us so we can help diagnose the issue?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 07, 2021 Sep 07, 2021

The flow accepts documents (Word, images, pdf) from an MS form as attachements converts them to pdf and then merges the converted files.

MicrosoftTeams-image (13).pngexpand image

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 07, 2021 Sep 07, 2021

Can you provide more information about INPUTS? I think that's the issue.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 07, 2021 Sep 07, 2021

Boro5C39_0-1631025902678.pngexpand imageBoro5C39_1-1631025949213.pngexpand image

{
  "error": {
    "code""OperationException",
    "message""For application/vnd.openxmlformats-officedocument.wordprocessingml.document mime-type The input file appears to be corrupted and cannot be processed.; transactionId=jOAiCpl8zdvjqJDp8ehSbQQA936a6enU-PowerAutomate"
  }
}
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 07, 2021 Sep 07, 2021

I'm kinda new to PowerAutomate so forgive me if this is wrong. It looks like you are providing the file *contents* to the PDF connector, whereas I believe it wants the *path* to the file. Can you try that?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 07, 2021 Sep 07, 2021

the function 'get file content using path' is used to get the file content which is required for 'convert to pdf' function

Boro5C39_0-1631030706858.pngexpand image

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 07, 2021 Sep 07, 2021
LATEST

Hi @Boro5C39 ,

 

Your use of getting File Content is correct. What might be the case is your Filename input. I see the variable of "name" in that field, but I don't know the value. You will want your name in that field to have the file extension at the end of the name.

 

Word Doc -> file.docx

PowerPoint -> file.pptx

 

There is also a variable that you can set, which is the name with extension, but that may require you to add a get file properties step.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources