Trying to extract a token from the response