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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error on Attachment Co...
Power Apps
Unanswered

Error on Attachment Control Uploading a file

(0) ShareShare
ReportReport
Posted on by 84
I am getting an error message when uploading a file using attachment control.
The weird thing is that it was working fine and suddenly started this error. Even in the development mode it still works fine.
 
Error is:
AzureBlobStorage.CreateFile failed: { "error": { "code": 400, "message": "Error validating Execution Restrictions - Bad Execution Restrictions", "source": "***.azure.net", "path": "choose[3]\\when[1]\\choose\\when[1]", "policyId": "", "clientRequestId": "*****-****-****-****-*********" } }
 
I am using this command:
 AzureBlobStorage.CreateFile("myfolder" , Text( Now(), "yyyymmdd-HHmmssam/pm-") & Last(AttachmentControl_1.Attachments).Name, Last(AttachmentControl_1.Attachments).Value));
 
Categories:
I have the same question (0)
  • Sighman Profile Picture
    131 on at

    I get a similar error - 400 error code, returning your authoring version to 3.24032.26  will probably fix it:

    Settings:Support:Edit in power apps studio

  • Amirhz Profile Picture
    84 on at

    How can I do this?

  • Sighman Profile Picture
    131 on at

    Sighman_0-1712339272263.png

     

  • Amirhz Profile Picture
    84 on at

    No luck!

    Please consider it is working fine in the development mode, but I get this error when the app is being played outside the editing environment. 

  • Sighman Profile Picture
    131 on at

    You did republish it?

  • Amirhz Profile Picture
    84 on at

    Yes, I did multiple times.

    And I noticed something!

    Every time I save and publish, it is automatically changed to that newer version when I get back to it!

     

    AmirZolf_0-1712346720653.png

     

  • Amirhz Profile Picture
    84 on at

    Now that earlier version is no longer available!

     

    AmirZolf_1-1712779880353.png

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard