+ Start a Discussion
Baz DensonBaz Denson 

Authentication error when trying to install packages from appexchange

I am trying to evaluate appexchange packages in a sandbox but I keep getting the following error when I try to install.

We can’t log you in because of the following error. For more information, contact your Salesforce administrator.
No_Oauth_Token: invalid_grant authentication failure


I am using my Domain and logging in using the custom domain
My sandbox has some IP ranges whitelisted.

Any suggestions?

Ajay K DubediAjay K Dubedi
Hi Baz,
You may need to to include your API security token with the password.
Reset Security Token for your User, You will get it on email.
From your personal settings, enter Reset in the Quick Find box, then select Reset My Security Token.
Click Reset Security Token. The new security token is sent to the email address in your Salesforce personal settings.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi
Viktor StevkovskiViktor Stevkovski
Probably you are working on customer instance. I used my developers account trailhead , got logged in and than successfully continued on the customer sandbox and installed the package from the Appexchange Marketplace. Hope this helps.