Empty api response handling in table grid

there is filter on screen ,
Expecting - when i filtered data if nothing is returning on the screen then 'no data found message and dronahq default icon emptyList.svg this should get displayed.

currently happening -
I have set action flow on table grid and sending status as error 500 from api and error message but table grid data showing as its and below the screen error message is showing

@priya.g In your Api error leg, you can set Control value to empty array = [] to reset tablegrid to display No Data Present view.

Hope this helps!