# Smart Actions Custom Error

**URL:** <https://community.forestadmin.com/t/smart-actions-custom-error/3506>\
**Category:** Help me!\
**Tags:** howtos\
**Created:** [October 11, 2021, 3:30am UTC](https://community.forestadmin.com/t/smart-actions-custom-error/3506 "2021-10-11T03:30:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kashish\_Maggu](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/kashish_maggu/32/3009_2.png) [@Kashish\_Maggu](https://community.forestadmin.com/u/Kashish_Maggu)\
**Post date:** [October 11, 2021, 3:30am UTC](https://community.forestadmin.com/t/smart-actions-custom-error/3506/1 "2021-10-11T03:30:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [October 11, 2021, 9:17am UTC](https://community.forestadmin.com/t/smart-actions-custom-error/3506/2 "2021-10-11T09:17:21Z")

</div>

Hello @Kashish_Maggu,

It’s not possible to override the default red popup placement ([but you can write your own error response](https://docs.forestadmin.com/documentation/reference-guide/actions/create-and-manage-smart-actions#custom-html-response-1)).  
In your case you can show custom errors by using your own HTML response. You can [find more information on this topic here](https://docs.forestadmin.com/documentation/reference-guide/actions/create-and-manage-smart-actions#custom-html-response-1).

Tell me if it help.

Kind regards,  
Morgan
