Remove invalid token from config