cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User
Super User

Error handling: Azure Blob Storage authentication error

I have an app which is saving images to Azure Blob Storage, setting a SharedLink and then recording the info (into CDS).

The App is used on mobile devices on WiFi or cell data.

Occasionally the users are getting the following error:

 

image.png

 

Check the Blob Storage metrics in Azure Portal I see the following:

image.png

I suspect the errors in the App occur due to network issues (there is no pattern of the failures appearing for specific users / devices /actions).

How can I trap these authentication errors so I can replace with a more 'friendly' message (e.g. I want to ask the user to check their network connection and try again)?

1 REPLY 1
Super User II
Super User II

Since because AzureBlobStorage.CreateFile returns a record you can try saving it in a variable, then you can check if the variable contains a record this means that the action run properly if there is no record inside your variable you can through a custom error message.

 

Since because i was not able to reproduce your problem but i have tried this successfully if the blob name was wrong.

 

Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

Thanks,

Rahber

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Solution Authors
Top Kudoed Authors
Users online (95,514)