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

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
RichmonS
Level: Powered On

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.

3 REPLIES 3
Community Support Team
Community Support Team

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.
RichmonS
Level: Powered On

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.

Community Support Team
Community Support Team

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

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

thirdImage

New Flow Community Board!

Check out the new Microsoft Flow Community Blog Topic Suggestion board!

fourthImage

Australia Summit

Travel to Melbourne and network with thousands of peers!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 152 members 6,228 guests
Please welcome our newest community members: