What causes the “Disconnected or Canceled” error at signer end.
The “Disconnected or Canceled” error generally occurs when the connection between the Browser and the DocGen/eSignature service is interrupted.
Common causes include:
-
Temporary network connectivity issues occurred.
-
The browser session has expired or been disconnected.
-
Browser pop-ups, cookies, or third-party content are blocked.
Recommended action:
Send New Document to Signer.
What causes the aura:systemError server error
The aura:systemError error indicates that Salesforce encountered an unexpected server-side exception while processing the Lightning/Aura request.
Possible causes include:
-
An Apex exception or unhandled error.
-
Governor-limit or transaction-related failures (In most of the cases related to Document size).
-
Incorrect or missing Salesforce configuration.
-
Temporary Salesforce or DocGen service issues.
Recommended action:
Check the Salesforce debug logs for the affected user and reproduce the issue. The underlying Apex exception or error message in the debug log usually provides more information about the root cause.
If the issue occurs only with a specific record or template, compare it with a working record/template to isolate the configuration or data issue.
Why does the signing page fail to load or respond.
The signing page may fail to load when the browser cannot establish or maintain the required connection to the eSignature service.
Common causes include:
-
Browser cache or cookie issues.
-
Browser extensions interfering with the page.
-
Network/firewall restrictions.
-
An invalid signing link.
-
Site guest user not assigned license
-
Site guest user not having required apex class / VF Page access.
Recommended action:
-
Open the link directly in a browser
-
Try opening the signing link directly in your browser.
-
If the link opens successfully, the issue is likely specific to the signer’s browser or environment.
-
-
Check whether the issue occurs on your end
-
If the link does not open on your end either, the issue is likely related to configuration.
-
Open the browser's Developer Tools → Console and check for any errors.
-
If a configuration-related error is found, discuss it with the SME for further investigation.
-
-
Check for an Unauthorized error
-
If there is no console error but the page displays an Unauthorized error, verify whether the Site Guest User has been assigned the required license for the DocGen & eSign application.
-
-
Verify permissions
-
If the required license is already assigned, verify that the Site Guest User has access to:
-
Required Visualforce Pages
-
Required Apex Classes
-
-
-
Check Apex Debug Logs
-
If all the above checks are correct and the issue still persists, enable/check Apex Debug Logs for the Site Guest User.
-
Reproduce the issue and review the logs for the underlying exception or configuration error.
-
In most cases, if the issue is not browser-specific and the above configuration checks are correct, the Apex Debug Log for the Site Guest User should provide the details needed to identify the root cause.
What should I do if another user can sign the same document but one cannot.
If another user can successfully sign the same document, the issue is likely specific to the affected user's browser, session, network rather than the document itself.
Check the following:
-
Clear browser cache/cookies or use a private/incognito window.
-
Try another supported browser.
-
Disable browser extensions that may interfere with the signing page.
-
Check whether the user's network/firewall is blocking the signing service.
What should I do if the error occurs repeatedly after refreshing the page.
If refreshing the page does not resolve the issue, avoid repeatedly refreshing the same session.
Follow these steps:
-
Capture the exact error message.
-
Note the Salesforce record and document/template involved.
-
Retry the operation.
-
Test using an incognito/private browser window.
-
Test with another browser.
-
Test with another user, if possible.
-
Determine whether the issue occurs for all documents or only a specific document/template.
-
Check Salesforce debug logs if the error is a server-side/Apex error.
If the issue is consistently reproducible, provide the error message, affected record, template, user, timestamp, and reproduction steps when escalating the issue.
How can I tell whether the issue is related to the document, template, Salesforce record, or signing process.
Use an isolation approach:
|
Test |
Result |
Likely Area |
|---|---|---|
|
Same template + different Salesforce record works |
Yes |
Record/data issue |
|
Different template + same record works |
Yes |
Template/mapping issue |
|
Same document works for another user |
Yes |
User/browser/session issue |
|
Document generates but signing fails |
Yes |
eSignature/signing process |
|
Multiple templates fail for one user |
Yes |
User/session/permissions |
|
Same template fails for all users |
Yes |
Template/configuration/service issue |
|
Document generation itself fails |
Yes |
DocGen/template/data/configuration |
|
Generation succeeds but signing link fails |
Yes |
eSignature/signing session |
The objective is to change one variable at a time—user, record, template, browser, or signing process—until the failing component is identified.
What steps should be followed if a customer accidentally declines the document on the signing screen.
If the signer accidentally selects Decline, the signing transaction may be marked as declined and cannot normally continue as if the signer had never declined it.
Recommended steps:
-
Confirm that the document was accidentally declined.
-
Check the current document/eSignature status in Salesforce.
-
Create/send a new signing request.
-
Provide the signer with the new signing link.
-
Ask the signer to review the document carefully before selecting Sign or Decline.
The exact recovery option depends on the eSignature provider and the current status of the signing transaction.
How can a document be voided after it has been sent for signing.
-
On the Document Workflow page, use the Void button to void the document.
-
If the Void button is not available:
-
Check the Document Workflow Page Layout and add the Void action/button.
-
In Object Manager, verify that the installed DocGen & eSign package version is 1.25 or later.
-
-
Alternatively, you can manually update the Document Status to Document Voided using the Path or the corresponding Status picklist field.
eSignature & Digital Signature
How does a digital signature verify the signer’s identity.
A digital signature uses a digital certificate and cryptographic technology to verify the identity of the signer and ensure that the signed document has not been altered.
The digital certificate is issued by a trusted Certificate Authority (CA) and links the signer’s identity to their public key. During signing, the signer uses their private key to create the digital signature. The recipient can then use the corresponding public key to verify that:
-
The signature was created by the holder of the associated private key.
-
The digital certificate is valid and trusted.
-
The document has not been modified after it was signed.
For more information on the difference between eSignature and Digital Signature, refer to the eSignature vs Digital Signature Guide.
When Should I Use an eSignature vs. a Digital Signature?
Use a digital signature when stronger cryptographic assurance and document integrity are required.
Digital signatures are particularly useful when:
-
The authenticity of the signer needs to be cryptographically verified.
-
Document integrity is important.
-
The organization requires certificate-based signing.
-
Regulatory or compliance requirements call for stronger authentication.
-
It is important to detect whether the document has been modified after signing.
When Should I Use an eSignature?
Use an eSignature when the main requirement is to collect a user's electronic consent, approval, or signature through a simple signing workflow. It is suitable for most standard business documents where certificate-based signing is not required.
Examples: Sales agreements, employment offer letters, NDAs, customer consent forms, purchase orders, service agreements, and internal approval documents.
When Should I Use a Digital Signature?
Use a Digital Signature when stronger signer authentication and cryptographic verification of the document's integrity are required. It is appropriate for documents where you need to verify the signer's identity through a digital certificate and ensure the document has not been modified after signing.
Examples: Financial agreements, regulatory/compliance documents, government forms, legally sensitive documents, and high-value contracts that require certificate-based signing.
For more details, refer to the eSignature vs Digital Signature Guide.
|
Requirement |
Recommended Method |
|---|---|
|
Basic electronic consent/signature |
eSignature |
|
Contracts and agreements |
eSignature |
|
Simple approval workflows |
eSignature |
|
Strong signer authentication |
Digital Signature |
|
Cryptographic document integrity |
Digital Signature |
|
Certificate-based signing requirement |
Digital Signature |
|
Regulatory/compliance requirement for digital certificates |
Digital Signature |
How does a digital signature protect a document from being modified after signing.
A digital signature uses cryptographic hashing and the signer's private key to create a signature associated with the document.
When the document is subsequently validated:
-
A hash of the signed document is calculated.
-
The signature is verified using the corresponding public key.
-
The calculated document hash is compared against the signed hash.
If the document has been modified after signing, the verification can fail because the document's content no longer matches the information that was originally signed.
Therefore, a valid digital signature provides evidence of document integrity and helps detect unauthorized modifications.
When should I use a Word document template versus a PDF document template.
The choice between Word and PDF templates depends mainly on document complexity, data looping, signer requirements, and whether users need to edit the generated document.
|
Requirement / Scenario |
Recommended Template |
Why |
|---|---|---|
|
Only document generation is required; no signing |
Word |
Word provides more flexibility for generating and maintaining documents. |
|
Signing is required and users need to edit certain fields/data before signing |
|
PDF allows editable content to be incorporated into the document before it is sent for signing. |
|
Data from child records needs to be looped dynamically |
Word |
Better suited for dynamic and variable-length child-record data. |
|
Number of child records is not fixed |
Word |
Recommended when the document needs to dynamically accommodate a varying number of records. |
|
Basic child-record looping is required and the number of records is fixed/limited |
Word or PDF |
PDF can be considered when the layout and number of records are known in advance. |
|
Signers need to be selected from different Salesforce objects |
|
PDF is a good choice when signer information needs to be mapped from different objects. |
|
Salesforce data needs to be updated upon signing |
|
PDF is a good choice when information needs to be updated back to salesforce. |
|
Highly dynamic document + user-editable fields + eSignature |
Word + Flow |
Generate the document using Word, then use a Send Document for eSignature Flow to add dynamic signers and editable/signing fields at runtime. |
Recommended Approach for Highly Dynamic Documents
When the document is highly dynamic and you also need to provide users with editable fields before signing, a Word template combined with a Flow-based eSignature process is recommended.
The document can first be generated using the Word template, and then the Send Document for eSignature Flow can be used to dynamically configure the signers and fields at runtime.
For the detailed implementation, refer to the Send Document for eSignature Flow Guide. (cloudmaven.atlassian.net)
What should I do if the Child Mapping option does not appear in a PDF template even after configuring the field mappings.
If Child Mapping does not appear in a PDF template, first verify that the child relationship and field mappings have been configured correctly.
Check the following:
-
Confirm that the child object/relationship is correctly configured.
-
Verify that the required child fields have been mapped.
-
Confirm that the parent-child relationship is valid.
-
Check running query in developer console if possible or check manually if child records exists.
-
Save the mapping configuration.
-
Refresh/reopen the template configuration.
-
Verify that the user has the required Salesforce permissions for the parent and child objects/fields.
-
Test with a simple child relationship to determine whether the issue is related to the configuration or the specific mapping.