Getting error: JSON heap size limit exceeded while uplaoding document of 4.3 KB from Salesforce: At this line: myEnvelope = dfsle.EnvelopeService.sendEnvelope(myEnvelope, false);, this error is returned . Please suggest
Hello Team
JSON heap size limit exceeded error in Salesforce occurs when the serialized envelope data exceeds the allowed limit. DocuSign has file sze limitation https://support.docusign.com/s/articles/DocuSign-Document-and-Envelope-File-Size-Limitations?language=en_US this can result from a large document, excessive recipients, or redundant envelope data. To resolve it, ensure your document is properly encoded and minimal in size, streamline the envelope data by removing unnecessary fields or tabs, and use a `dfsle.EnvelopeDefinition` object to optimize the payload. And If the issue persists, test with smaller payloads or contact DocuSign support for guidance with DocuSign API logs for further troubleshooting.
Thankyou
Sai
Reply
Sign up
Already have an account? Login
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
Customer Login/Registration Developer Login/RegistrationDocusign Community
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
Customer Login/Registration Developer Login/RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.