handle non-2xx response codes