更新信封状态时收到INVALID_EMAIL_ADDRESS_FOR_RECIPIENT [英] receiving INVALID_EMAIL_ADDRESS_FOR_RECIPIENT when updating envelope status

查看:270
本文介绍了更新信封状态时收到INVALID_EMAIL_ADDRESS_FOR_RECIPIENT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个信封,如果使用status = sent创建,则可以正常工作(我可以调用签名
接口并将其通过电子邮件发送给信封中定义的收件人)。当我尝试使用以下方式更改状态时,状态= created完全相同的信封XML将失败:

 公用字符串SendEnvelope(字符串信封ID)
{
字符串url = baseURL + / envelopes / +信封ID;
字符串requestBody =
< envelope> +
< status> sent< / status> +
< / envelope>;
HttpWebRequest request = initializeRequest(url, PUT,requestBody,email,password);
字符串响应= getResponseBody(请求); <-错误出现在这里
返回响应;
}

我收到:
INVALID_EMAIL_ADDRESS_FOR_RECIPIENT收件人的电子邮件地址无效。收件人ID如下。



在创建信封后是否可以随时将信封状态设置为已发送?


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 ?

解决方案

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.

这篇关于更新信封状态时收到INVALID_EMAIL_ADDRESS_FOR_RECIPIENT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆