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

1 Answer 1


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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .