SAP Knowledge Base Article - Public

3575494 - Error occured while generating a document with digital signature enabled

Symptom

While generating a document with digital signature enabled and getting the error "An error occurred while sending the document to DocuSign". 

Environment

SAP SuccessFactors Employee Central - Document Generation

Reproducing the Issue

  1. Go to Document generation- Generate document.
  2. Select corresponding Template.
  3. Select allow digital signature as Yes.
  4. Select user.
  5. Click Generate and Email.
  6. Error occurred: "An error occurred while sending the document to DocuSign".

Cause

Maximum length exceeded for documents field emailBody in DocuSignEnvelopeRecipient MDF entity.

Resolution

  1. Go to Object Definition > Select DocuSignEnvelopeRecipient. 
  2. Go to field: emailBody >update max length from 255 to up to 4000. 
  3. Then try to generate the Document and check.

The maximum length limit permitted by the system is 4,000. 

Keywords

DocuSignEnvelopeRecipient, Docusign, An error occurred while sending the document to DocuSign, Document generation, emailbody, maxlength, DOCUSIGN_DOCGEN, documents, EMPLOYEE_HRIS_GO_FIELD_MAX_LENGTH_EXCEEDS_LIMIT, 255, digital signature , KBA , LOD-SF-EC-DOC , Document Generation , Problem

Product

SAP SuccessFactors HCM Core 2411