Search code examples
salesforcedocusignapi

Error saving DocuSign Envelope Status in Salesforce using Apex Toolkit


Since September 30th, we started receiving errors while trying to create DocuSign Status records:

All envelopes must be in 'sent' or 'created' state with a valid DocuSign ID to create associated status records

We are using the EnvelopeService Apex Toolkit, and the exception is thrown after invoking the saveSentEnvelopes or sendEnvelope methods. Sometimes it fails and sometimes it works, so we could not determine any pattern in terms of the envelope we are sending. Moreover, the users are receiving the email with the envelope correctly.


Solution

  • This is a known issue for which a patch was released yesterday. Please update your DocuSign Apps Launcher to the latest version to resolve this