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 Automate
Answered

Get Last Error Help

(2) ShareShare
ReportReport
Posted on by 11
Hi all,
 
Does anyone know how to resolve if my get last error message is "No ErrorError"? The functions that I've used currently is "On block error" and "Get Last Error" to complete data entry on website based on my excel data. 
  
 When I log the error details onto excel, if there's a true error, it'll reflect the name, the location and the index of the action that failed, the subflow that contains this action, and the details and the message of the action. However, for excel rows subsequent to the row that encountered an error, flow runs  correctly with no  error,  but power automate still logs an error with details "No ErrorError"     .
 
Is there a way to debug this? Or is there a reason why it is showing up as "no ErrorError"?
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
    Hi
     
    Resolve what? what does that mean? Do you mean you got an error and you checked LastError and it was useless information?
     
    Where is your code so we can see what you are doing
  • Suggested answer
    eetuRobo Profile Picture
    4,204 Super User 2025 Season 2 on at
    Sounds like your flow will always do the Get last error -action even if there were no error. So if you have Get Last error -action for example as a first action in the flow it will return "No Error" value. 
     
     
    So either put the Get last error -action inside if statement that checks if error happened and only then retrieve the last error details with Get last error -action. So inside your OnBlock add set variable "ErrorHappened" to True


    Then have the Get Last error inside if condition that checks that ErrorHappened -variable.


    Or have a check before writing into excel that LastError.Location actually has a value:
  • test2031_ Profile Picture
    11 on at
    Thank you so much! The step "set variable" <assign to variable ErrorHappened the value False> works and it solved my issue. Thank you so much!

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard