Smart Actions Custom Error

I am doing a fetch call for POST api which updates the data through csv file. sometimes user uses invalid csv. is there a way where we can show custom errors for smart actions?
Currently i am able to show a default red pop up on right bottom of screen. what i need to do is show a pop up in middle of screen and show the api response. and it should be closed when the user clicks on it

Hello @Kashish_Maggu,

It’s not possible to override the default red popup placement (but you can write your own error response).
In your case you can show custom errors by using your own HTML response. You can find more information on this topic here.

Tell me if it help.

Kind regards,
Morgan