Add InvalidResponseError to client