Cloud Credential error

When adding cloud credential for vSphere in rancher UI, it shows “Authentication Test Failed”. Unable to add or create cluster due to this, even after giving right credentials. Any help is much appreciated!!