Loading

OmniStudio: DocuSign Template Fetch Credential Error

Udgivelsesdato: Aug 7, 2026
Beskrivelse
Issue
When an OmniStudio Omniscript or Integration Procedure tries to fetch document templates from DocuSign, the action fails and the user sees the following error:
We couldn't access the credential(s). You might not have the required permissions, or the external credential "" might not exist.
Symptoms
  • The DocuSign Template list does not load inside the OmniScript or Integration Procedure.
  • The credential error appears even though the Authentication Provider and Named Credential were created by following the Salesforce Help Setup steps.
  • If other users can fetch DocuSign templates successfully while one user cannot, the problem is likely specific to that user's permission set assignment or mapping rather than a broken DocuSign connection.

Applies To

  • OmniStudio, in both Standard (Core Runtime) and Managed-Package.
  • DocuSign integration for Omniscripts and Integration Procedures.
  • Salesforce orgs using the External Credentials model (External Credential + Named Credential).

Root Cause

The error is an authorization failure at the external credential layer, not a DocuSign outage. To call DocuSign, the running user's context must resolve to an authenticated external credential principal that the user is permitted to use. The message appears when one of the links in that chain is missing:
  • No permission set mapping / the user isn't in a mapped permission set — the external credential has no principal the running user can access, so Salesforce reports the credential as inaccessible or non-existent.
  • The principal is not authenticated — the permission set mapping exists but its authentication status is not Configured, so there is no usable token.
  • The managed-package namespace is not allowed — when the callout originates from managed-package code (for example, OmniStudio), the external credential only honors it if that package's namespace is listed under the credential's allowed namespaces. If it is missing, the package cannot access the credential even though the setup otherwise looks correct.
Løsning

First complete the standard DocuSign setup in Salesforce Help: Configure a Salesforce Org for DocuSign Integration and Create an OAuth 2.0 Named Credential to Connect to DocuSign on Salesforce Help. If you have followed those steps and the error persists, verify the external credential configuration:

  1. From Setup, open Named Credentials, then open the External Credentials tab and select the external credential used for DocuSign.
  2. Under Permission Set Mappings, confirm a mapping exists and that the affected user is assigned to that permission set. If no mapping exists, add one for the appropriate permission set.
  3. Check the Authentication Status of the permission set mapping. It must be Configured. If it is not, open the row's action menu (Actions) and choose Authenticate, then complete the DocuSign login.
  4. Under Managed Package Access, confirm that the Allowed Namespaces list includes the namespace of the package making the callout. For OmniStudio core, the value must be omnistudio. To find the namespace, go to Setup → Installed Packages and note the package's namespace prefix.
  5. Save your changes, then reopen the Omniscript or Integration Procedure and retry the DocuSign template fetch to confirm the error no longer appears.

If the error still occurs after all four checks pass, confirm the running user has access to the permission set at run time (including in Experience Cloud or guest contexts, if applicable) and re-authenticate the principal.


Named Credentials

External Credentials

Vidensartikelnummer

000393828

 
Indlæser
Salesforce Help | Article