I have tried adding an error code like 501 and then on the front end adding a server connect and on form submit Error showing the last error “message” but I just get the message “bad request”
I get the I got the error message to show but it must not be picking up the “Last Error” of the server connect.
I have done similar to what was done here: How to set other server responses for 'Server Connect' action
What is the correct way of doing this?