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 / How to trace back an e...
Power Apps
Unanswered

How to trace back an error in canvas app?

(0) ShareShare
ReportReport
Posted on by

Hi Folks,

 

Last week one of my canvas app users reported an error. It happened only once and started working afterwards without any intervention. It was a flow fail. When I analyzed the flow instance, I was able to see that Power app passed wrong parameters. The parameter is an end point URI string built from power apps and passed to flow.

 

The URI had two dynamic values. One of which was current logged in users id. I had used User().email to get this. It had always worked fine. But this instance it had null for user id part in URI. It seems the power app User().email did not return value. 

The other parameter was end point URL which is fetched from SPO list connected directly to the app. For some reason this part was also blank. It only happened once or twice, in different intervals and has not occurred again so far. 

 

The issue is the canvas app passing wrong/blank values to the flow and flow fails on http action. Is there anyway I can trace back to that particular instance of app run and see what went wrong?

 

I was not able to replicate this from my end and would like to know what exactly happened. 

 

Thank you. 

Categories:
I have the same question (0)
  • MVP-Phipps Profile Picture
    3,508 Super User 2024 Season 1 on at

    No not that I am aware of. What you can do in future is ask the user to go to network in developer tools and send you the error code if it happens again. You then may get a better error message and from there be able to diagnose.

    Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful because this can help others.

    LinkedIn: https://www.linkedin.com/in/charlie-phipps-%F0%9F%91%A8%E2%80%8D%F0%9F%92%BB-91338715b/
    YouTube: https://www.youtube.com/channel/UChmFBGU1YKIU91sNMQ7buGg
    Twitter: https://twitter.com/phipps0218

  • rbn_nue Profile Picture
    on at

    Hi @phipps0218 ,

     

    Thank you for the response. Is it possible to utilize Azure application insights to capture these kinds of errors? I believe it did not throw an error though (regarding user().email or SPO connector) . The user reported only flow error. 

  • MVP-Phipps Profile Picture
    3,508 Super User 2024 Season 1 on at

    To be perfectly honest on this one I am not sure. I don't believe so but let me do some research and come back to you. 

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard