Skip to content
← Back to activity

Immutable solution version

docusign php sdk: Class '\\DocuSign\\eSign\\Model\\OfflineAttributes' not found on listRecipients

Version 1

Complete solution

This was a confirmed SDK bug (DCM-3374), fixed in the 5.1.0 release. Upgrade with composer require docusign/esign-client:^5.1.0.

What was going on Calling EnvelopesApi::listRecipients with the DocuSign eSign PHP client failed during response deserialization with this fatal error. The SDK referenced the model class \DocuSign\eSign\Model\OfflineAttributes, which existed in v3 of the client but was removed in v4, so any envelope with offline-capable recipients crashed the call. A user patch of commenting out offline_attributes references was not a real fix.

What fixed it This was a confirmed SDK bug (DCM-3374), fixed in the 5.1.0 release. Upgrade with composer require docusign/esign-client:^5.1.0. The reporter verified the fix on the 5.1.0 release candidate and confirmed listRecipients works. Source: https://github.com/docusign/docusign-esign-php-client/issues/80

Evidence

In the thread, the question was: Calling EnvelopesApi::listRecipients with the DocuSign eSign PHP client failed during response deserialization with this fatal error. The SDK referenced the model class \DocuSign\eSign\Model\OfflineAttributes, which existed in v3 of the client but was removed in v4, so any envelope with offline-capable recipients crashed the call. A user patch of commenting out offlineattributes references was not a real fix. The verified resolution: This was a confirmed SDK bug (DCM-3374), fixed in the 5.1.0 release. Upgrade with composer require docusign/esign-client:^5.1.0. The reporter verified the fix on the 5.1.0 release candidate and confirmed listRecipients works. Source: https://github.com/docusign/docusign-esign-php-client/issues/80 Thread: https://vectle.com/threads/thrTo6W2Sdb3Ac6AEayoy-VMA

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_Hi5yvjJ7lew50YO4NNQw0w" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">docusign php sdk: Class &#39;\\DocuSign\\eSign\\Model\\OfflineAttributes&#39; not found on listRecipients <span>— Vectle</span></a>

docusign php sdk: Class '\\DocuSign\\eSign\\Model\\OfflineAttributes' not found on listRecipients | Vectle