调用 create envelope API 时出现错误

While calling the create envilope API we are getting the error

调用 create envelope API 时出现错误

{
  "errorCode": "ACCOUNT_MISSING_ENTITLEMENT_CREATE_EMBEDDEDRECIPIENTSTARTURL",
  "message": "The sender does not have required entitlement and is not allowed to set EmbeddedRecipientStartURL for the user"
}

请求url

/v2/accounts/8017620c-2355-481c-a7b2-50b645d40a52/envelopes

请求正文(信封)

{
    "documents": [
        {
            "documentId": "1864177648",
            "name": "powerpoint press.pptx",
            "fileExtension": "pptx",
            "matchBoxes": [],
            "documentFields": [],
            "documentBase64": ""
        }
    ],
    "recipients": {
        "signers": [
            {
                "excludedDocuments": [],
                "name": "Mehraj",
                "email": "mehraj@mydomain.com",
                "signingGroupUsers": [],
                "recipientId": "cbd343d7-a735-4846-8138-243ec7b31348",
                "socialAuthentications": [],
                "clientUserId": "0e670c86-aa1a-4149-9ce6-9c27dd76d3b0",
                "embeddedRecipientStartURL": "SIGN_AT_DOCUSIGN",
                "customFields": [],
                "routingOrder": "1",
                "recipientAttachments": []
            }
        ],
        "agents": [],
        "editors": [],
        "intermediaries": [],
        "carbonCopies": [],
        "certifiedDeliveries": [],
        "inPersonSigners": []
    },
    "eventNotification": {
        "url": "https://mysite.mydomain.com/root/api/docusign/webhook/eventnotification",
        "loggingEnabled": "true",
        "requireAcknowledgment": "true",
        "envelopeEvents": [
            {
                "envelopeEventStatusCode": "sent"
            },
            {
                "envelopeEventStatusCode": "delivered"
            },
            {
                "envelopeEventStatusCode": "completed"
            },
            {
                "envelopeEventStatusCode": "declined"
            },
            {
                "envelopeEventStatusCode": "voided"
            }
        ],
        "recipientEvents": [
            {
                "recipientEventStatusCode": "Sent"
            },
            {
                "recipientEventStatusCode": "Completed"
            },
            {
                "recipientEventStatusCode": "Declined"
            },
            {
                "recipientEventStatusCode": "AuthenticationFailed"
            },
            {
                "recipientEventStatusCode": "AutoResponded"
            }
        ],
        "useSoapInterface": "false",
        "includeCertificateWithSoap": "false",
        "signMessageWithX509Cert": "false",
        "includeDocuments": "false",
        "includeEnvelopeVoidReason": "true",
        "includeTimeZone": "true",
        "includeSenderAccountAsCustomField": "true",
        "includeDocumentFields": "true",
        "includeCertificateOfCompletion": "false"
    },
    "templateRoles": [],
    "compositeTemplates": [],
    "status": "created",
    "emailSubject": "powerpoint press",
    "recipientsLock": "true"
}

** 我删除了 documentBase64 内容以使 post 更短 **

在演示环境中一切正常,但在生产环境中我们遇到指定的错误。

在我给你一个完整的答案之前需要先看看你的信封,但是这个页面可能会阐明你可能遗漏的内容:

https://developers.docusign.com/docs/esign-soap-api/reference/sending-group/rules-for-createandsendenvelope-and-createenvelope/

如果有帮助请告诉我。

设置嵌入式启动 URL 是一项付费附加功能。您的生产帐户可能不包含此功能。