Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Getting file content - route did not match for pdf conversion

(0) ShareShare
ReportReport
Posted on by 75

Hi at all!

 

I have a problem with converting a Word to PDF dynamically from Powerapps.

I am currently developing a application which will at first populate a word template with spo list data if a button in the app gets pushed. And an additional button for converting this word document to pdf.

I have implemented a patch function in powerapps for the two buttons to update a status variable. If this status variable is set to "word" respectively "pdf" a flow is triggered which decides with conditions if the word- or pdf action gets executed.(if item is creadet or modified and status eqquals "word" etc..)

The word action works fine and it does what it is supposed to do. 

But my pdf-action, which is implemented in the same logic, throws an "list not found"-error for the conversion part.

(Route did not match clientRequestId: bc21974e-bca4-4874-811c-ff5735c645bb
serviceRequestId: b77bbb9e-b0fb-7000-f611-2d31833a9cad)

And I don't understand why.

 

Thats the patch function on my "generate pdf"-button, which updates the status variable in the spo list.


Bildschirmfoto 2019-01-31 um 21.00.07.png

Thats the flow part which gives me an error.

 

Bildschirmfoto 2019-01-31 um 21.20.20.png

 

Bildschirmfoto 2019-01-31 um 21.31.41.pngBildschirmfoto 2019-01-31 um 21.31.47.png

 

thanks a lot in advance!

 

All the best.

 

Basti

  • Verified answer
    steersebastian Profile Picture
    75 on at
    Re: Getting file content - route did not match for pdf conversion

    'Get file content using path' is the action I was looking for....

    Bildschirmfoto 2019-02-25 um 13.51.10.png

  • steersebastian Profile Picture
    75 on at
    Re: Getting file content - route did not match for pdf conversion

    Hi @v-zhos-msft

     

    sorry for the late reply and thanks a lot for your effort. 

    But this did not help my.

    Can't I build the file identifier as path to the file built with dynamic content? The path of the file needs to be build based on specific colums of the item selected...

     

    But in general I have problems with the getting file content action

    If I select a specific file in the folder structure in the file identifier field like below it works well:

    Bildschirmfoto 2019-02-18 um 20.19.51.png

    Bildschirmfoto 2019-02-18 um 20.13.57.png

    But if I just copy and paste the file path from the previous flow run, or build it with dynamic content, I get an "route did not match" error with the same path as file identifier...

    Bildschirmfoto 2019-02-18 um 20.18.02.png

     

    I don't get it....Thanks a lot!

     

    All the best

     

    Basti

  • v-zhos-msft Profile Picture
    on at
    Re: Getting file content - route did not match for pdf conversion

    Hi steersebastian,

    I think the issue is the file Id you used in above action was not the same one you used in the Get file Content.

    How is the action “Get file” configured? How is the id field specified?

    When using the Get file action, you could get the Id dynamic content from previous action/trigger if you have one.

    If not, you could enter an exact static value for the Id field. Please check the following screenshot:

    32.png

    I have made a test on my side, you need set the File identifier of Get file content as below:

    what you issue is you missed a “/” at the begin of File identifier.

    Capture45354.PNG

     

     

    Best Regards,

    Zhongys

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,601 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow