问题
I am doing a couple of api calls “GET RecipientTabs” and “DELETE Recipients” in my production environment and using sender of envelope as SOBO functionality in authentication header. We closed a user after he sent an envelope and envelope’s s status is in-process now. If I perform api calls on this envelope, I’m getting the following error:
"errorCode": "USER_LACKS_MEMBERSHIP",
"message": "The UserID does not have a valid membership in this Account."
As of my understanding, this error is occurring because the sender of envelope is closed and he is inactive now. I have the docusign administrator rights in my production account and Is there any way to skip the issue and perform the api calls successfully on envelope?
回答1:
To resolve this, you must remove the <SendOnBehalfOf></SendOnBehalfOf>
portion of your headers.
The request is attempting to make the call as a closed user, that user does not have access to make API calls or access anything else inside of DocuSign.
Making the call as the administrator will grant access to all envelopes under that account and be able to execute what you're attempting to execute.
来源:https://stackoverflow.com/questions/29807801/docusign-user-lacks-membership-issue