web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / (Error: 400) convertin...
Power Automate
Unanswered

(Error: 400) converting Word document to PDF

(0) ShareShare
ReportReport
Posted on by

Hi guys, I've been trying to convert word to pdf as shown here:

 

pdf.PNG

 

But I keep getting this error even when I change Fieldid to Identifier, ID, or Name.

pdfError.PNG

 

 

Does anyone knows how to solve that?

 

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at
    Re: (Error: 400) converting Word document to PDF

    Hey @Anonymous 

     

    You have to provide the proper path to the file and then the display name. For example, if the file is stored at the "Template" folder in the Shared Documents, Select the documents in the action and then for the file, type: /Template/displayname (In the place of display name, select the file display name from the create file action)

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    on at
    Re: (Error: 400) converting Word document to PDF

    @yashag2255 The library doesn't have subfolder yet. The file is stored in the exact main library which is written in the library name.

     

    Thanks for replying though!

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at
    Re: (Error: 400) converting Word document to PDF

    Hey @Anonymous 

     

    In that case, just add the /  and then after the / select the display name from the dynamic selector. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    on at
    Re: (Error: 400) converting Word document to PDF

    Hey @yashag2255,

     

    Couldn't find the selector: Display Name. I used to have it in different flows but not this one.

     

    So I tried "Name" instead and the same error occurred.

  • v-bacao-msft Profile Picture
    on at
    Re: (Error: 400) converting Word document to PDF

     

    Hi @Anonymous ,

     

    As far as I know, File can only be selected from File Browse, and note that only word files can be converted into PDF files here. Other types of files are not supported.

    217.PNG

    In other words, if you want to use this action, the word file that needs to be converted is a file that has been saved, and it can be selected through File Browse during configuration.

    Hope it makes sense.

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at
    Re: (Error: 400) converting Word document to PDF

    Thank you Mr. @v-bacao-msft. But as you see in the flow. I need the convert action to happen to the same file used in the flow. Choosing a specific file after approval is not what I'm looking for. Isn't there any way to convert the file that just got approved in the same flow?

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at
    Re: (Error: 400) converting Word document to PDF

    Hi @Anonymous 

     

    Can you post a screenshot of the entire flow? I have tested with the display name dynamic selector and it works as expected. 

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    on at
    Re: (Error: 400) converting Word document to PDF

    Hi @yashag2255,

     

    Here is the entire flow:

    1.PNG2.PNG3.PNG

     

    As you see in the 3rd picture, I wanna convert to PDF after updating the document. Everything is working great except the converting.

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at
    Re: (Error: 400) converting Word document to PDF

    Hey @Anonymous 

     

    Please refer to the screenshot below: You need to add a get file metadata action from where you can get the display name. In the word action, provide the appropriate path and then the display name. In this case the document is in the root folder only. 

    se2.PNG

     Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

  • Community Power Platform Member Profile Picture
    on at
    Re: (Error: 400) converting Word document to PDF

    Hi @yashag2255,

     

    Still the same error 

     

    a.PNG

     

     

    b.PNG

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard