This error typically occurs when the running user does not have the required access to the document template or the related file stored in the Document Template Library.
Multiple factors can contribute to this error. To resolve the issue, review the following:
DocGenDocumentTemplateLibraryVlocityDocumentTemplateLibraryFor DOCX templates, verify access to the underlying file associated with the document template:
To identify the associated file, use the following queries:
OmniStudio orgs: SELECT Id, LatestContentVersionId FROM DocumentTemplateContentDoc WHERE DocumentTemplateId = '<DocumentTemplateId>'
Vlocity (CME/Insurance) orgs: SELECT Id, vlocity_cmt__TemplateContentVersionId__c FROM vlocity_cmt__DocumentTemplate__c WHERE Id = '<DocumentTemplateId>'
Ensure proper file sharing with the Document Template Library:
In such cases, the file may not be properly shared with the library. To resolve this:
000396806

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.