I am trying to build Salesforce to Salesforce integration using Named Credentials.

Followed the steps from below blog.


  • Created Connected App in destination org
  • Created Authorization Provider in source org
  • Defined Named Credential in source org.

When I checked Start Authentication flow on Save and then save Named Credential and getting below error


And also Authentication Status is Pending on Named Credential.

enter image description here


I fixed it by updating Consumer Key.I didn't copied Consumer Key properly on Auth. provider in Destination org.After updating it and saving Named Credentials and new page opens up to authenticate Source Org and finally updated the Authentication Status to username of source org.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.