Docusignapi DocuSign错误:此帐户缺少足够的权限。指定捕获收件人时需要会话内权限

Docusignapi DocuSign错误:此帐户缺少足够的权限。指定捕获收件人时需要会话内权限,docusignapi,Docusignapi,当我向DocuSign发送SOAP请求时,它显示了一个错误:该帐户缺少足够的权限。指定捕获收件人时需要会话内权限 完整响应XML为: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="

当我向DocuSign发送SOAP请求时,它显示了一个错误:该帐户缺少足够的权限。指定捕获收件人时需要会话内权限

完整响应XML为:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<soap:Header>
    <wsa:Action>http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</wsa:Action>
    <wsa:MessageID>urn:uuid:9f406870-dc55-441d-b5ff-8317166636b9</wsa:MessageID>
    <wsa:RelatesTo>urn:uuid:b572d1a4-b8b5-4254-8f1d-7fd46fb593f1</wsa:RelatesTo>
    <wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
    <wsse:Security>
        <wsu:Timestamp wsu:Id="Timestamp-656764ea-c0f0-4074-88b1-dbffae666a83">
            <wsu:Created>2013-08-01T18:00:46Z</wsu:Created>
            <wsu:Expires>2013-08-01T18:05:46Z</wsu:Expires>
        </wsu:Timestamp>
    </wsse:Security>
</soap:Header>
<soap:Body>
    <soap:Fault>
        <faultcode>soap:Client</faultcode>
        <faultstring>This Account lacks sufficient permissions. In-Session permission required when specifying a captive recipient.</faultstring>
        <faultactor>https://www.docusign.net/api/3.0/dsapi.asmx</faultactor>
        <detail>
            <ErrorCode xmlns="missing in Web.Config">111</ErrorCode>
            <ErrorReason xmlns="missing in Web.Config">This Account lacks sufficient permissions.</ErrorReason>
        </detail>
    </soap:Fault>
</soap:Body>
</soap:Envelope>

http://schemas.xmlsoap.org/ws/2004/08/addressing/fault
urn:uuid:9f406870-dc55-441d-b5ff-8317166636b9
urn:uuid:b572d1a4-b8b5-4254-8f1d-7fd46fb593f1
http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
2013-08-01T18:00:46Z
2013-08-01T18:05:46Z
soap:客户端
此帐户缺少足够的权限。指定捕获收件人时需要会话内权限。
https://www.docusign.net/api/3.0/dsapi.asmx
111
此帐户缺少足够的权限。
我们发送的请求是:

User-Agent: SFDC-Callout/28.0
X-DocuSign-Authentication: <DocuSignCredentials><Username>There is a user name</Username><Password>There is a password</Password><IntegratorKey>There is an integrator key</IntegratorKey></DocuSignCredentials>
Accept: text/xml
Content-Type: text/xml
charset: UTF-8
SOAPAction: "http://www.docusign.net/API/3.0/CreateAndSendEnvelope"

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Header />
<env:Body>
    <CreateAndSendEnvelope xmlns="http://www.docusign.net/API/3.0">
        <Envelope>
            <AccountId>There is an accountId</AccountId>
            <Documents>
                <Document>
                    <ID>1</ID>
                    <Name>Bayfront - Smoke free environment form - Antony.pdf</Name>
                    <PDFBytes>There is an encoded body</PDFBytes>
                    <FileExtension>pdf</FileExtension>
                </Document>
            </Documents>
            <Recipients>
                <Recipient>
                    <ID>1</ID>
                    <UserName>mikhail</UserName>
                    <Email>mikhail.ivanov@targetrecruit.net</Email>
                    <Type>Signer</Type>
                    <AccessCode xsi:nil="true" />
                    <RequireIDLookup>false</RequireIDLookup>
                    <CaptiveInfo>
                        <ClientUserId>1</ClientUserId>
                    </CaptiveInfo>
                    <RoutingOrder>1</RoutingOrder>
                    <RoleName>Signer</RoleName>
                </Recipient>
            </Recipients>
            <Tabs />
            <Subject>Please Sign this Document: </Subject>
            <EmailBlurb>This is my new eSignature service, it allows me to get your signoff without having to fax, scan, retype, refile and wait forever</EmailBlurb>
            <CustomFields>
                <CustomField>
                    <Name>DSFSSourceObjectId</Name>
                    <Show>false</Show>
                    <Required>false</Required>
                    <Value>Credential ID</Value>
                </CustomField>
            </CustomFields>
        </Envelope>
    </CreateAndSendEnvelope>
</env:Body>
</env:Envelope>
用户代理:SFDC Callout/28.0
X-DocuSign-Authentication:有用户名有密码有集成器密钥
接受:text/xml
内容类型:text/xml
字符集:UTF-8
SOAPAction:“http://www.docusign.net/API/3.0/CreateAndSendEnvelope"
有一个帐号
1.
Bayfront-无烟环境表格-Antony.pdf
有一个编码体
pdf
1.
米哈伊尔
米哈伊尔。ivanov@targetrecruit.net
签字人
假的
1.
1.
签字人
请在本文件上签字:
这是我的新电子签名服务,它允许我无需传真、扫描、重新键入、重新填写和永远等待即可获得您的签名
DSFSSourceObjectId
假的
假的
凭证ID

原因可能是什么?我应该如何修复它?

DocuSign开发人员沙盒在默认情况下已启用此功能,因此您可以在上线前测试嵌入式签名(和发送等)


就实时生产客户而言,并非所有客户都启用了嵌入功能,因此请确保您购买了具有嵌入功能的客户。如果您在生产中遇到此错误,您很可能需要升级。

不幸的是,这是一个只能从DocuSign端启用的帐户设置。我们已将新的演示帐户配置为默认启用此功能,因此不确定为什么不为您启用此功能,但请提供您的帐户ID,我可以为您启用它。但是,请注意,这是企业级或工作组级功能。我们允许您测试免费演示帐户中的所有功能,但当您准备投入生产时,如果您想使用此功能,则需要确保您购买了一个具有此功能的帐户。有关如何使用此功能的详细信息,请联系您的DocuSign帐户经理。如果您没有,请联系DocuSign支持。