We’re experiencing this error:
{"errorCode"=>"UNKNOWN_ENVELOPE_RECIPIENT", "message"=>"The recipient you have identified is not a valid recipient of the specified envelope. Envelope recipient could not be determined. 'clientUserId', 'email', or 'userName' in request and envelope may not match."}
However, the signers are identified by either the email field or clientUserId (they’re both the email) and it matches everywhere. I've quadruple checked. So this error just seems plain wrong. This particular request is only failing for one envelope where I’m trying to retrieve an embedded signing experience for a specific user. I can’t replicate the issue with any other envelopes using different email addresses that we have created to try to investigate this issue.
If the user trying to load up the embedded signing experience already had a Docusign account could that effect anything? From what I can tell from my testing, this issue seems like it’s stemming from her email somehow… and appears to be on the Docusign side of things.
UPDATE:
I was being a bit vague on purpose as I am not a fan of disclosing this kind of data publicly. But as you requested, here is the get_recipients return:
pry(main)> client.get_envelope_recipients(envelope_id: 'dffa4edc-1fcf-4098-b3e8-9b1a5ed984f8')
=> {
"signers" => [
[0] {
"name" => "Bridget C. Shoemaker",
"email" => "[email protected]",
"recipientId" => "1",
"recipientIdGuid" => "c8edf6a1-ab19-4bd0-af75-715bcec43aa1",
"requireIdLookup" => "false",
"userId" => "1a873cb0-044a-4b3f-9e0d-dc6a948e579b",
"clientUserId" => "[email protected]",
"routingOrder" => "1",
"note" => "",
"roleName" => "Third Party",
"status" => "delivered",
"deliveredDateTime" => "2013-12-09T18:25:44.7800000Z"
}
],
"agents" => [],
"editors" => [],
"intermediaries" => [],
"carbonCopies" => [],
"certifiedDeliveries" => [],
"inPersonSigners" => [],
"recipientCount" => "1",
"currentRoutingOrder" => "1"
}
And here is the get_recipient_view request body in JSON format for the REST API
{\"authenticationMethod\":\"email\",\"clientUserId\":\"[email protected]\",\"email\":\"[email protected]\",\"returnUrl\":\"https://app.bolstr.com/accredited_verifications/113/docusign_response?accredited_verification_id=113\",\"userName\":\"Third Party Verification\"}