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 / powerapps error handling
Power Apps
Unanswered

powerapps error handling

(0) ShareShare
ReportReport
Posted on by 202

Hi,

 

today I was working on Azure connector, below is mycode

If(
 !IsBlank(vFilePath),
 Launch(AzureBlobStorage.CreateShareLinkByPath(vFilePath).WebUrl),
 Notify(
 "File Path not found",
 NotificationType.Error
 )
)

if the filePath is empty i'm showing file path not found. but I'm having file path but the file was not there where i'm getting run time error like this 

"error": { "message": "Specified blob Testing/sales.csv does not exist." }

 

I'm wondering is it possible to capture run time errors and showcase in UI saying that file not found ?

Categories:
  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @Sharuk ,

    If it helps you can try below code.

     

    IfError(Launch(AzureBlobStorage.CreateShareLinkByPath(vFilePath).WebUrl),Notify("File not found",Notification.Error))

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Sharuk Profile Picture
    202 on at

    Hi @PriyankaGeethik 

    I've tried this, but no luck

  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @Sharuk ,

     

    What is the result you got when you tried this ? 

    Does the default message showed ? 

     

  • Sharuk Profile Picture
    202 on at

    Hi @PriyankaGeethik 

    I haven't got any notify messages, when I opened editor it showed me the following error

    Sharuk_0-1629730610897.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

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 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard