Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Gather username as dynamic content from creator of OneDrive file



So I am making a Flow so that when someone fills out a Form, it looks up and gets content of a pdf.


The pdf file identifier is being dynamically generated from one of the form answers. The pdf is named "New Employee -- EMPLOYEE NAME" and the "EMPLOYEE NAME" is one of the form answers. 


Screenshot Image (Sorry im not the best with coding, this was the best i could get to work)


every time i test it, i get back this error:

  "error": {
    "code": 404,
    "source": "",
    "clientRequestId": "edac1bc5-4e21-4abd-bd7d-428b226d05cb",
    "message": "The response is not in a JSON format.",
    "innerError": "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

Any help?

Community Support Team
Community Support Team

Re: Gather username as dynamic content from creator of OneDrive file

Hi @ChazBolt,


I did the test on my side. Using Get file content action does show the problem you mentioned.

You could use Get file content using file path action to implement your needs.

Fill the dynamic content in the File path, you could get file content, and its output can also be used.

Image reference:


It work, as below:


Please take a try.


Best Regards,


Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Powered On

Re: Gather username as dynamic content from creator of OneDrive file

So i ended up still using Get File Content, and instead of sourcing using the dynamic content of a pdf that has been partially filled in, i had it source the original empty pdf and just reapply all the information, including the new stuff.

Then it just creates a new pdf with the same name and overwrites the old one.


Your answers works too, and it does the same practical thing, rewrites over a file with the same file with the same info plus more.


But this still isnt what i really want to do, which is update the file directly with new information, not overwrite it with the same file with new information. 

Helpful resources


Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!


Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,572)