If httpcode is error, don't return output text