Hello, how could we change a HTTP status code response from an API 401 to a 500 or 503? We have this Inner Tree that calls to this API to get User info when this user it’s not cretaed in IDM to create a user with all his information (It’s in the API). But when we test this Tree to fail by the API (on purpose) it gets back a HTTP error 401 instead of 500. We wanna change this error, since it is a server error and not the user’s, we thought with a scripted decision node would work.
We working with AM 7.1.1