How get a toast to show when calling from dynamic event

Morning

I have setup a toast to show when I get an error response from the server but for some reason it is not showing up when the error event fires. I added a button to manually test if the toast works and it does.

My settings look as follows:

Any ideas?

Community Page
Last updated: