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 Automate / Error: Arithmetic oper...
Power Automate
Unanswered

Error: Arithmetic operation resulted in an overflow?

(0) ShareShare
ReportReport
Posted on by 5

I keep getting this error around the same spot in my flow, however it only errors if I start the flow within the editor where I can see each action execute one by one.

NateThibault_0-1656606624024.png

 

Here is a copy and paste of the error:

Message = Arithmetic operation resulted in an overflow.
Error = System.OverflowException
Full text = System.OverflowException: Arithmetic operation resulted in an overflow.
at System.Windows.Shell.WindowChromeWorker._HandleNCHitTest(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

It seems to fail at or around #43 - which was originally setup with down arrow 7 times, then right arrow, followed by 4 more down arrows. So I broke it up into 4 keys per action with an 8 second delay between actions, along with increasing the ms delay between keystrokes but it still fails when ran in this editor view - but runs fine when ran from "my flows"

NateThibault_1-1656606784304.png

 

  • VJR Profile Picture
    7,635 on at

    This is a tip and also see if something changes by doing this.

    To send down key 3 times use the syntax as below.

    {Down:3}

  • NateThibault Profile Picture
    5 on at

    Thanks! I tried that and it works but I am still getting the same error. Narrowed it down to this action: {LMenu}({Down})

    NateThibault_0-1656718100867.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 Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard