【问题标题】:DocuSign CreateAndSendEnvelope "Guid cannot be null"DocuSign CreateAndSendEnvelope“Guid 不能为空”
【发布时间】:2014-10-26 17:57:52
【问题描述】:

我正在尝试复制此处找到的示例代码: https://www.docusign.com/p/APIGuide/APIGuide.htm#Sending%20Group/Create%20and%20Send.htm

我复制了 C# 代码来构建信封,并且只针对我的环境进行了调整.. 示例文件、电子邮件地址等。执行此操作时出现以下异常:

发生处理错误:System.ServiceModel.FaultException: 请求包含至少一个无效参数。 Guid 不能为空。

服务器堆栈跟踪:在 System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime 操作,ProxyRpc& rpc) 在 System.ServiceModel.Channels.ServiceChannel.Call(字符串动作, Boolean oneway, ProxyOperationRuntime 操作, Object[] ins, Object[] 出局,TimeSpan 超时)在 System.ServiceModel.Channels.ServiceChannel.Call(字符串动作, Boolean oneway, ProxyOperationRuntime 操作, Object[] ins, 对象 [] 出局)在 System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall,ProxyOperationRuntime 操作)在 System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage 留言)

在 [0] 处重新抛出异常:在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,IMessage retMsg)在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(消息数据& msgData,Int32 类型)在 SampleApp.DSAPIService.DSAPIServiceSoap.CreateAndSendEnvelope(信封 信封)

有人看过这个问题吗?我查看了 API 参考中的 Envelope、Recipient、Document 和 Tab 类型,但没有看到任何作为 guid 的字段。

【问题讨论】:

    标签: c# docusignapi


    【解决方案1】:

    我发现了问题。看起来我错过了设置 Envelope.AccountId 字段。

    【讨论】:

      猜你喜欢
      • 2015-02-01
      • 1970-01-01
      • 1970-01-01
      • 2012-10-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-09-08
      • 1970-01-01
      相关资源
      最近更新 更多