The Named Credential sign-in fails in a sandbox
This article tells you what to check, and how to fix the problem.
Last updated 11 Oct 2026
What to do
A new Auth. Provider signs in at login.salesforce.com. A sandbox user signs in at test.salesforce.com. In a sandbox, open the Auth. Provider from the Named Credential chapter. Click Edit.
In Authorize Endpoint URL and Token Endpoint URL, replace login.salesforce.com with test.salesforce.com. Click Save. Then save the Named Credential again, and sign in.
Applies to
Address Verification 7.3.x. This fix comes from the tested Address Verification implementation guide.
Was this helpful?
Thank you. Your answer helps us know which articles work.
Related
- All Address Verification troubleshooting
- Install the newest version of Address Verification. TAF works on bugs in the newest version only.
Still stuck?
Open a case, and paste the exact error text into it. Our support team answers by email.