BadRequest Adobe Connector 'Convert to PDF' Power Automate

Community Beginner ,
Sep 06, 2021 Sep 06, 2021

Copy link to clipboard

Copied

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

Views

648

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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).png

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Boro5C39_0-1631025902678.pngBoro5C39_1-1631025949213.png

{
  "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"
  }
}

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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?

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.png

 

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

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