cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

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
Community Support
Community Support

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.

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

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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

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 (82,692)