0
嘗試從SOAP API使用CreateEnvelopeFromTemplate時出現錯誤。錯誤狀態:DocuSign API錯誤:此帳戶未啓用請求的計劃項目。 AllowRequireSignerCertificate
「A計劃要求的項目不啓用該帳戶計劃項目:AllowRequireSignerCertificate」
值得注意的是,我只有一個模擬賬戶,而不是生產賬戶。其他有用的信息:
- SOAP API
- .NET MVC 4.5應用
- C#
代碼段:
DS.TemplateReference templateReference = new DS.DocuSignAPI.TemplateReference();
templateReference.Template = _templateID;
templateReference.TemplateLocation = DS.TemplateLocationCode.Server;
DS.EnvelopeInformation envelopeInfo = new DS.EnvelopeInformation();
envelopeInfo.AccountId = _accountId;
envelopeInfo.Subject = "Test Subject";
envelopeInfo.EmailBlurb = "Test Email Content";
DS.EnvelopeStatus status = client.CreateEnvelopeFromTemplates(new DS.TemplateReference[ {templateReference}, _recipients, envelopeInfo, false); -- fails here
嗯,我知道最近我們的演示服務器出現了一些問題,不確定它們是否已解決。不過,我知道我之前在模板存在向後兼容性問題時也看到了這個錯誤。作爲一個測試,你可以請嘗試快速創建一個新模板,並在你的代碼中引用它來查看錯誤是否消失? – Ergin
這個模板剛剛創建,所以它是全新的。不過,我會試着看看會發生什麼。感謝您及時的回覆。 –
可疑的是,在創建的新模板上發生相同的錯誤。模板起源的形式是否重要?這是作爲Word Doc(.doc擴展名)開始的。 –