When using a VS Code integrated terminal or Powershell, paste with Ctrl + Shift + V to paste the token without special formatting.
Ctrl + Shift + V