使用自定义电子邮件通知添加收件人时出错

问题描述:

我正在尝试将收件人添加到草稿信封,并且尽管收件人确实已添加,我收到了与通知相关的错误消息。有人可以解释USER_LACKS_RECIPIENTEMAILNOTIFICATION_PERMISSION错误到底是什么?使用自定义电子邮件通知添加收件人时出错

POST /restapi/v2/accounts/123456/envelopes/3a20bef6-0d88-431a-aaf1-e27baa9b59a6/recipients HTTP/1.1 

{ 
"carbonCopies": [ 
{ 
    "email": "[email protected]", 
    "name": "Mike", 
    "accessCode": "xyz", 
    "addAccessCodeToEmail": true, 
    "emailNotification": { 
    "emailBody": "Custom email message different than the envelope body", 
    "emailSubject": "Custom email subject", 
    "supportedLanguage": "en" 
    }, 
    "inheritEmailNotificationChange": false, 
    "note": "Sample note", 
    "recipientId": "1", 
    "routingOrder": "1" 
} 
] 
} 

这里是响应我收到回:

{ 
"signers": [], 
"agents": [], 
"editors": [], 
"intermediaries": [], 
"carbonCopies": [ 
{ 
    "name": "Mike", 
    "email": "[email protected]", 
    "recipientId": "1", 
    "accessCode": "xyz", 
    "requireIdLookup": "false", 
    "routingOrder": "1", 
    "note": "Sample note", 
    "status": "error", 
    "emailNotification": { 
    "emailSubject": "Custom email subject", 
    "emailBody": "Custom email message different than the envelope body", 
    "supportedLanguage": "en" 
    }, 
    "errorDetails": { 
    "errorCode": "USER_LACKS_RECIPIENTEMAILNOTIFICATION_PERMISSION", 
    "message": "Account or user does not have permission to set recipient email notifications." 
    } 
} 
], 
"certifiedDeliveries": [], 
"inPersonSigners": [], 
"recipientCount": "1" 
} 

唯一的权限设置,我可以看到的情况可能属于这是下面的,但我不能改变它的值。

enter image description here

的答案来解决这个问题是不是为收件人提供“” supportedLanguage”属性。这是一种功能,将需要才能被开启您的发送用户

+0

是的,你可以解释supportedLanguage的使用场景吗?API定义描述了枚举值,但是我不清楚你在哪里可以使用它。 DocuSign试图检测用户的语言环境并用适当的消息做出回应?自动翻译服务?视线。 – Mike 2014-11-26 02:36:16

检查“提醒&到期时间”栏目,以确保你没有“不允许用户覆盖这些设置”设置检查?

enter image description hereenter image description here

+0

这个复选框没有被选中 – Mike 2014-11-24 23:25:53