Cannot add a node to a cluster

I've been dealing with the same issue. At the end the error was that I was loggin into the WebUI with a Proxmox VE Authentication Server user and not with root.