infrastructure: handle invalid response.