DocuSign API和集成以及信封创建过程中出错35; DocuSignAPI

DocuSign API和集成以及信封创建过程中出错35; DocuSignAPI,api,docusignapi,envelope,Api,Docusignapi,Envelope,使用以下代码创建信封时出错。但身份验证成功,我可以检索帐户Id A first chance exception of type 'DocuSign.eSign.Client.ApiException' occurred in DocuSign.eSign.dll Error: Error calling CreateEnvelope: { "errorCode": "PARTNER_AUTHENTICATION_FAILED", "message": "The specified I

使用以下代码创建信封时出错。但身份验证成功,我可以检索帐户Id

A first chance exception of type 'DocuSign.eSign.Client.ApiException' occurred in DocuSign.eSign.dll

Error: Error calling CreateEnvelope: {
  "errorCode": "PARTNER_AUTHENTICATION_FAILED",
  "message": "The specified Integrator Key was not found or is disabled. An Integrator key was not specified."
}
身份验证代码:

string authHeader = "{\"Username\":\"" + Username + "\", \"Password\":\"" + Password + "\", \"IntegratorKey\":\"" + IntegratorKey + "\"}";
cfg.AddDefaultHeader("X-DocuSign-Authentication", authHeader);
AuthenticationApi authApi = new AuthenticationApi(cfg);
A first chance exception of type 'DocuSign.eSign.Client.ApiException' occurred in DocuSign.eSign.dll

Error: Error calling CreateEnvelope: {
  "errorCode": "PARTNER_AUTHENTICATION_FAILED",
  "message": "The specified Integrator Key was not found or is disabled. An Integrator key was not specified."
}
信封创建代码:

EnvelopeSummary envelopeSummary = envelopesApi.CreateEnvelope(AccountId, envDef);
A first chance exception of type 'DocuSign.eSign.Client.ApiException' occurred in DocuSign.eSign.dll

Error: Error calling CreateEnvelope: {
  "errorCode": "PARTNER_AUTHENTICATION_FAILED",
  "message": "The specified Integrator Key was not found or is disabled. An Integrator key was not specified."
}
错误详细信息:

A first chance exception of type 'DocuSign.eSign.Client.ApiException' occurred in DocuSign.eSign.dll

Error: Error calling CreateEnvelope: {
  "errorCode": "PARTNER_AUTHENTICATION_FAILED",
  "message": "The specified Integrator Key was not found or is disabled. An Integrator key was not specified."
}

任何帮助都将不胜感激。

错误“PARTNER\u AUTHENTICATION\u FAILED”是在读取正文之前的第一次失败,这意味着Integrator密钥对环境无效,方法调用“Reserved”或“message”状态下丢失

A first chance exception of type 'DocuSign.eSign.Client.ApiException' occurred in DocuSign.eSign.dll

Error: Error calling CreateEnvelope: {
  "errorCode": "PARTNER_AUTHENTICATION_FAILED",
  "message": "The specified Integrator Key was not found or is disabled. An Integrator key was not specified."
}
大多数情况下,如果系统正在执行某些不允许的操作,或者卡在“保留”调用的循环中,则在具有积分器键的运行系统中,这种情况会“关闭”。如果您一直在测试,现在已在prod中上线,这意味着您的Integrator密钥不允许在生产中使用

A first chance exception of type 'DocuSign.eSign.Client.ApiException' occurred in DocuSign.eSign.dll

Error: Error calling CreateEnvelope: {
  "errorCode": "PARTNER_AUTHENTICATION_FAILED",
  "message": "The specified Integrator Key was not found or is disabled. An Integrator key was not specified."
}
为了帮助您,最好的方法是通过以下DocuSign支持文章中介绍的步骤,捕获API调用通过Java向DocuSign发出的确切JSON/SOAP请求

A first chance exception of type 'DocuSign.eSign.Client.ApiException' occurred in DocuSign.eSign.dll

Error: Error calling CreateEnvelope: {
  "errorCode": "PARTNER_AUTHENTICATION_FAILED",
  "message": "The specified Integrator Key was not found or is disabled. An Integrator key was not specified."
}

请发布这些以及您试图进行的实际DocuSign API调用,我相信我们将能够推断出问题。

谢谢@David,一旦验证,DocuSign将提供我的配置文件详细信息作为响应。对于身份验证,我发送了相同的集成器密钥,它已成功通过身份验证。目前我正在使用开发帐户。如果您有任何建议,请告诉我。@ShreeKrishnaKumarD欢迎您,我在答案中添加了更多内容,以帮助我们确定您的真实问题,这可能是“状态代码”返回的代码逻辑问题,也可能是误报,等等。因此,请添加您的“意图”aka代码/API调用以及从DocuSign日志中捕获的内容。
A first chance exception of type 'DocuSign.eSign.Client.ApiException' occurred in DocuSign.eSign.dll

Error: Error calling CreateEnvelope: {
  "errorCode": "PARTNER_AUTHENTICATION_FAILED",
  "message": "The specified Integrator Key was not found or is disabled. An Integrator key was not specified."
}