Oh I get it now, then you need to wrap your http request block in a try/catch
Please read the documentation it’s all there
In the try put your http request, in the catch (a.k.a. what to do if it fails) set the status to fail. Easy fix!
TRY
BLOCK:HttpRequest... etc
ENDBLOCK
CATCH
data.STATUS = "FAIL";
return;
END