receiving INVALID_EMAIL_ADDRESS_FOR_RECIPIENT when updating envelope status

岁酱吖の 提交于 2020-01-14 05:23:29

问题


I have an envelope, that if created with status=sent works fine (I can call the signing interface and it gets emailed to the recipients defined in the envelope). The exact same envelope XML, with status=created, no other difference, will fail when I attempt to change the status with:

public string SendEnvelope(string envelopeID)
{
    string url = baseURL + "/envelopes/" + envelopeID;
    string requestBody =
    "<envelope>" +
    "<status>sent</status>" +
    "</envelope>";
    HttpWebRequest request = initializeRequest(url, "PUT", requestBody, email, password);
    string response = getResponseBody(request); <---ERROR OCCURS HERE
    return response;
}

I receive: INVALID_EMAIL_ADDRESS_FOR_RECIPIENTThe email address for the recipient is invalid. The recipient Id follows.

Is it not possible to set the envelope status to "sent" at any time after envelope creation ?


回答1:


It turns out, if you have a template role assigned of "carbon copy", and you don't provide any email addresses for that role, then it produces the invalid email address error.



来源:https://stackoverflow.com/questions/26412132/receiving-invalid-email-address-for-recipient-when-updating-envelope-status

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!