I'm using the http request node and sometimes I get this error "JSON Parse Error", maybe because the server is down or something. But whenever that happens the node converts the msg object to a string. Thus losing all the other properties.
How can I avoid this from happening?
EDIT: I actually captured the error:
API GET,"Error: socket hang up"