Error: Invalid call to client action since the latter is not currently active

Hi Guys, 

Have you encountered this kind of error?

"Invalid call of the 'FormatBalances' client action of the 'MainFlow.ClientDetails' since the latter is not currently active. This is likely due to a platform's client action being used as an event handler or in a setTimeout function. Consider removing this call by using the 'On Destroy' event of the screen/block or moving your logic to a global client action."

Any Idea how to set the timeout of the client action? Is it done only on javascript? Thanks in advance!


Yes, this is a common problem, which can have a variety of causes. What it says is that an event action was triggered (e.g. after loading data) while the web block or screen is no longer visible.

What you need to do to solve it depends on the exact cause. If you search the forum, there's at least one thread that discusses one of the common problems and how to deal with it. (I'm on mobile now, so difficult for me to find it.)

Well there are many posts but all says the same, no solution found yet, even until this year 2021, so your answer is not helping sir


Hi Agnes,

Did you actually check the other forum topics that discuss this topic? Depending on the situation, there are a number of solutions.

Hi Kilian,

I am also facing same issues can you please help us if you are having some solution link.

Below are error:


Shashikant Shukla


Hi Shashi,

First, it is not really an "issue". Nothing goes wrong with the code, there's no real bug, and everything will run fine. The only downside is the messages in the log. Like I wrote earlier, there's no one-size-fits-all solution, it depends on your code. In general, try to find out when these messages happen (most likely a page is closed or there's a page transition), and see in what cases the offending Action is called. From there try to deduce what the cause is, and make sure the Action is no longer called when it shouldn't be.

May 9 - No solution found yet. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.