cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Struggling with Get File Content

I am trying to use the get file content function within flow using a variable.  When I put the name in the properties boxes the flow works as expected.  When I replace the file ID with a variable I get the following error:

 

{
"error": {
"code": 404,
"source": "flow-apim-msmanaged-na-centralus-01.azure-apim.net",
"clientRequestId": "27899743-2f44-4647-98b0-ad1588949c81",
"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."
}
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Regular Visitor

Re: Struggling with Get File Content

So after a little more Googleing I was able to figure out the issue.  Apparently I needed to use the action

 

Get File Content using path

 

Only changing that step from the Get file content everything works.

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Struggling with Get File Content

Hi @RichmonS,

 

Could you share the specific details of your action configuration?

I am not sure which version of Get file content you are using, OneDrive or SharePoint.

It would be helpful if you could post more details and we would provide a proper workaround for you.

 

Best Regards,

Barry

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.
Highlighted
Regular Visitor

Re: Struggling with Get File Content

So after a little more Googleing I was able to figure out the issue.  Apparently I needed to use the action

 

Get File Content using path

 

Only changing that step from the Get file content everything works.

View solution in original post

Highlighted
Community Support
Community Support

Re: Struggling with Get File Content

Hi @RichmonS,

 

If you have found the solution, please go ahead and mark your post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

Best Regards,

Barry

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.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

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

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Users online (4,738)