Skip to main content

Named credential which is stuck on 'pending' status.

Receives error: We can’t log you in because of an authentication error. For help, contact your Salesforce administrator.

 

#Salesforce Developer #Data Management #Salesforce Admin

3 Antworten
  1. 30. Nov. 2023, 09:16

    @Chaitanya Sable

    If a named credential in Salesforce is stuck in a "pending" status, there could be several reasons for this. Here are some steps you can take to troubleshoot and resolve the issue:

     

    1. **Check for Errors:**

       - Review the named credential settings for any errors or missing information.

       - Ensure that the authentication settings, such as username, password, and endpoint URL, are correct.

       - Look for any error messages or notifications that might provide more information.

     

    2. **Verify Permissions:**

       - Ensure that the user associated with the named credential has the necessary permissions to access the external system.

       - Check if there are any permission issues with the named credential itself. Make sure the user has the "Manage Named Credentials" permission.

     

    3. **Test Connection:**

       - Use the "Test Connection" button on the named credential detail page to check if Salesforce can successfully connect to the external system. This can help identify connectivity issues.

     

    4. **Check Endpoint URL:**

       - Verify that the endpoint URL specified in the named credential is correct and accessible. Ensure that there are no typos or issues with the URL.

     

    5. **Review Remote Site Settings:**

       - If the external system requires Salesforce to make outbound requests, ensure that the external domain is added to the Remote Site Settings in Salesforce.

     

    6. **Refresh the Named Credential:**

       - Try refreshing the named credential by editing and saving it again. Sometimes, this can trigger a reevaluation and resolve any issues.

     

    7. **Check for Salesforce Outages:**

       - Verify if there are any ongoing Salesforce service outages or issues that might be affecting the named credential.

     

    8. **Debug Logs:**

       - Enable debug logs for the user associated with the named credential and check the logs for any errors or additional information. The logs may provide insights into the issue.

     

    9. **Consult Salesforce Support:**

       - If the issue persists, consider reaching out to Salesforce support for assistance. Provide them with details about the named credential, any error messages, and steps you've taken to troubleshoot.

     

    Remember to make any changes cautiously, especially in a production environment. If you're uncertain about any changes, it's advisable to consult with your Salesforce administrator or seek assistance from Salesforce support.

0/9000