Reputation: 71
While Requesting the recipient view in docusign, I am getting the error as
"errorCode": "USER_DOES_NOT_BELONG_TO_SPECIFIED_ACCOUNT",
"message": "The specified User is not a member of the specified Account."
Below is the URL that I am referring:
https://developers.docusign.com/esign-rest-api/guides/embedded-signing
I have added the users in specified account and also given the input to fetch the response. But anyhow getting the above error.
curl -k -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H 'X-DocuSign-Authentication: {
"Username":"[email protected]",
"Password":"S3cre+p455w0Rd",
"IntegratorKey":"230546a7-9c55-40ad-8fbf-af205d5494ad"}' \
-d '{"authenticationMethod":"email",
"clientUserId":"1000",
"email":"[email protected]",
"recipientId":"1",
"returnUrl":"http://httpbin.org/get",
"userName":"Darlene Petersen"}' \
https://demo.docusign.net/restapi/v2/accounts/000000/envelopes/4280f274-bfee-419b-9514-b218b7eeda08/views/recipient
Upvotes: 4
Views: 2805
Reputation: 3820
Docusign does not allow cross-account API calls.
What does that mean?
Typical product integrations try to do integration with docusign by using their own Docusign Account (Pro Enterprise) but they want to allow their customers to send documents for eSign using their own docusign accounts. B2B type integrations. This is where the tricky part is.
In such case belows errors are thrown by docusign APIs,
For JWT flow,
"errorCode": "USER_DOES_NOT_BELONG_TO_SPECIFIED_ACCOUNT",
"message": "The specified User is not a member of the specified Account."
For Auth Grant flow,
"errorCode": "INVALID_USER",
"message": "The specified User is not a member of the specified Account."
Solution?
When the documents are send for eSing using docusign createEnvelope API, use docusign account id of the product client instead of integration account id.
i.e.
Upvotes: 1
Reputation: 2807
Users who want to send documents need a DocuSign account.
It sounds like your username/ password changed and still it is pointing to the previous account. To resolve you need to update the integration to point to the new account.
Here you can find the status code
Upvotes: 0