pretty print failed request