cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Route did not match clientRequestId:

Hello,

 

I have a problem with my flow. It says that the route did not match or something like this I don't know. 

 

I want to do the same as this guy in this video : https://www.youtube.com/watch?v=s3PC7tqqoI4

 

I replicate the same flows using my sharepoint and then I got this : 

 

Capture1.JPGCapture2.JPGCapture3.JPGCapture7.JPG

 

Do someone know where I do wrong please ? I'm quite confuse and I didn' find any solution on internet nor within the forum

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Anonymous 

 

Thanks for your reply. You be better to post this issue in PowerApps forum.

 

Believe the PowerAutomate issue is resolved now. I am not sure how PowerApps renders the HTTP response object which in your case is the PDF doc.

 

Thanks

 

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials

View solution in original post

24 REPLIES 24
Super User III
Super User III

Hi @Anonymous 

 

Most likely you are not using the correct file identifier for the Get File Content action step.

 

If you know the Filename then use the Get File Properties (SharePoint) action step filtered by File name, then use the file identifier in your Get File Content Action step.

 

image.png

 

If you need any further help in this please let me know.

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Anonymous
Not applicable

Hello abm,

 

Thanks for helping me with this issue ! 

 

I'm still getting error. Don't know if I done it correctly, i'm not experienced at all 

 

Capture10.JPGCapture11.JPG

 

In "get File properties" I can't choose other file than "Documents" (my folder where my docs are is in Documents>Contrats de sous-traitance)

Hi @Anonymous 

 

Thanks for your reply.

 

You need to filter by filename. Then add a foreach loop to get the identifier.

 

Another option is if you know the full path then try using the Get File Metadata using Path action step. This should also give you the file identifier.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Anonymous
Not applicable

Thanks for your response

 

Each PDF have a different name and I would like to get acces to all of them. Can I filter them by ".pdf" maybe instead ?

 

I don't know how to do a foreach loop also, can you teach me how to do it please ? 

 

Thanks for using your time helping me, I'm unexperienced with all of this 

Hi @Anonymous 

 

Are all the documents stored under the root of the library or in different folders. Could you please show a screenshot of your document library? 

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Anonymous
Not applicable

They are in the folder "contrats de sous-traitance" 

 

here is the screenshoots

 

Thanks a lot ! Capture13.JPGCapture14.JPG

Hi @Anonymous 

 

Thanks for the screenshot. So that means you need to get all the PDF docs, get each file identifier then pass to next flow step. Is that correct?



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Anonymous
Not applicable

Abm,

 

No no thanks to you for your help 😊

 

Yes this is correct, so then I can click on the gallery and the item I selected will be show in the PDF Visionner device in powerapps !

 

Thanks a lot 

Hi @Anonymous 

 

Ok let me try from my end first. I assume you don't have subfolders within folders?



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Anonymous
Not applicable

Abm, 

 

I don't think, I just have my Librairy called "Documents" and then I created a folder "Contrats de sous-traitances" in it to store my PDF contracts

 

Sorry for any misunderstanding, english is not my native language, I speak french

Hi,

 

Do you need to look the pdf documents from that one directory only?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Anonymous
Not applicable

Abm, 

 

Yes, just the PDF in that directory only, I don't need other ones

 

Many thanks !

Thanks will get back to you



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Anonymous
Not applicable

Amb, 

 

Ok, thanks a lot for your help and your time !

Hi @Anonymous 

 

Please follow the below steps.

 

Remove your Get File content step and add the below steps

 

First add the list folder step. Select your SharePoint address and select the library and folder name. Below 'aj' is my SharePoint library name and 'Test2' is my folder name. Your case you need to select it accordingly.

 

image.png

 

Next we need to filter the PDF docs. So for this I am using Filter Array step.

 

image.png

 

Next we nee to add a For Each loop to iterate the PDF files from the array collection above and Get file contents

 

image.png

 

Add rest of your logic inside the For Each loop accordingly.

 

Here is my test result.

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Anonymous
Not applicable

Abm, 

 

Ok, here is a screenshoot of the flow, Did I done it correctly for this step ? 

Capture19.JPG

Thanks !

Hi,

 

Please see my earlier reply. For some reason it didn't posted all the contents correctly. I have edited it again.  Please have a look.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Anonymous
Not applicable

Hi Abm,

 

Thanks for your help, here is what the flow looks like now : 

 

Capture20.JPGCapture21.JPGCapture22.JPGCapture23.JPG

 

WHen I go to "My flows" "Selected flow" and then "Runs" i can see in the records that the status is "Succeeded" !! Thank you !

 

But when I try the flow in my app, it doesn't work, I don't know why : 

 

Capture24.JPG

You see, I have to click on the gallery above and then the document is showed in PDF Visionner. But here it doesn't work at all

 

When I click on " Open in my navigator instead" I have this message : 

 

Capture25.JPG

 

The translation is (after the word "message") : The input content is not valid : " the value "content-type" given "pdf" is not written well" 

 

So I believe I have made a mistake despite your advice unfortunately

 

Thanks a lot for your help Abm

 

 

Anonymous
Not applicable

I corrected a little thing in the flow ;

 

In response step, instead of "pdf" I wrote "application/pdf".

 

Then I tried the application, last error dissapear but there is a new one instead !

 

Capture30.JPG

 

If I click on "more informations button" it shows this message : 

 

PDF.js v1.9.426 (build: 2558a58d)
Message: Invalid PDF structure

 

Ever heard about this before ? 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (7,773)