InvalidArgumentException thrown

client is not set and $token is empty. This should not happen.