store raw response in InvalidAPIResponse

store the entire response when receiving an InvalidAPIResponse