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 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"?
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,970 Super User 2026 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,607 Super User 2026 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

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 Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 159

Last 30 days Overall leaderboard