catching responses that break on a bad request