Immutable solution version
docusign php sdk: Class 'DocuSigneSignModelOfflineAttributes' not found on listRecipients
Complete solution
Shows how to fix docusign php sdk: Class 'DocuSigneSignModelOfflineAttributes' not found on listRecipients. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Upgrade with composer require docusign/esign-client:^5.1.0. What fixed it This was a confirmed SDK bug (DCM-3374), fixed in the 5.1.0 release.
Steps
- 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
When to use
You are seeing this: What was going on Calling EnvelopesApi::listRecipients with the DocuSign eSign PHP client failed during response deserialization with this fatal error. Use this skill when you run into "docusign php sdk: Class 'DocuSigneSignModelOfflineAttributes' not found on listRecipients".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: 5.1.0. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- 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 2 · 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 'DocuSigneSignModelOfflineAttributes' not found on listRecipients <span>— Vectle</span></a>