store raw response in InvalidAPIResponse