web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / AzureBlobStorage.GetFi...
Power Apps
Answered

AzureBlobStorage.GetFileContentByPath fails

(0) ShareShare
ReportReport
Posted on by 67
I get the following error when trying to display a PDF in my application.  This has been in place for about 6 month and haven't made any recent changes.  Yesterday it began throwing the error message below:
AzureBlobStorage.GetFileContentByPath failed: { "error": { "code": 400, "message": "Error validating Execution Restrictions - Bad Execution Restrictions", "source": "msmanaged-na.azure-apim.net", "path": "choose[3]\\when[1]\\choose\\when[1]", "policyId": "", "clientRequestId": "xxxxxxxxxxxxxxxxxx" } }
 
In studio mode, everything works fine so I know it's not the file path or the connection.  Connection also is still working when used in a flow to email the pdf using the same file path.
Any ideas what might be causing this?
Categories:
  • Verified answer
    mrscherry2000 Profile Picture
    67 on at
  • wfranczyk Profile Picture
    6 on at

    @mrscherry2000 , could you share how to fix this issue? I have exactly the same issue but I'm getting .jpg from blob. My function looks like this AzureBlobStorage.GetFileContentByPath("folder/sub_folder/image.jpg"). I also tried using AzureBlobStorage.GetFileContentByPathv2("storage_account","folder/sub_folder/image.jpg") but I got the same result.

  • wfranczyk Profile Picture
    6 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard