DocuSign 信封:listStatus "UNSPECIFIED_ERROR"
DocuSign Envelopes: listStatus "UNSPECIFIED_ERROR"
我正在尝试 API 调用 eSignature REST API 信封:listStatus(如图所示 here)
但是,我收到 ERROR 400 Bad Request 和以下内容:
{
"errorCode": "UNSPECIFIED_ERROR",
"message": "Object reference not set to an instance of an object."
}
即使在 DocuSign 的 API 浏览器中尝试,我也会遇到同样的错误。该错误似乎指出请求正文的形成方式存在问题。 DocuSign 建议这样做,
{
"envelopeIds": [
"44c5ad6c-xxxx-xxxx-xxxx-ebda5e2dfe15",
"8e26040d-xxxx-xxxx-xxxx-1e29b924d237",
"c8b40a2d-xxxx-xxxx-xxxx-4fe56fe10f95"
]
}
但是,如果我在正文中使用 "envelopeIds",我会得到:
{
"errorCode": "INVALID_REQUEST_PARAMETER",
"message": "The request contained at least one invalid parameter. Query parameter 'from_date' must be set to a valid DateTime, or 'envelope_ids' or 'transaction_ids' must be specified."
}
将“envelopeIds”替换为“envelope_ids”我得到:
回复:
{
"errorCode": "UNSPECIFIED_ERROR",
"message": "Object reference not set to an instance of an object."
}
甚至使用 逗号分隔列表 之类的,我也会得到同样的错误:
正文:
{ "envelopeIds": "44c5ad6c-xxxx-xxxx-xxxx-ebda5e2dfe15,8e26040d-xxxx-xxxx-xxxx-1e29b924d237"}
回复:
{
"errorCode": "UNSPECIFIED_ERROR",
"message": "Object reference not set to an instance of an object."
}
如有任何帮助,我们将不胜感激。我已经使用邮递员和 DocuSign 的 API 资源管理器进行了尝试。
您需要在 URL 中包含 ?envelope_ids=request_body
。
然后它应该与 body:
一起使用
{
"envelopeIds": [
"44c5ad6c-xxxx-xxxx-xxxx-ebda5e2dfe15",
"8e26040d-xxxx-xxxx-xxxx-1e29b924d237",
"c8b40a2d-xxxx-xxxx-xxxx-4fe56fe10f95"
]
}
我正在尝试 API 调用 eSignature REST API 信封:listStatus(如图所示 here)
但是,我收到 ERROR 400 Bad Request 和以下内容:
{
"errorCode": "UNSPECIFIED_ERROR",
"message": "Object reference not set to an instance of an object."
}
即使在 DocuSign 的 API 浏览器中尝试,我也会遇到同样的错误。该错误似乎指出请求正文的形成方式存在问题。 DocuSign 建议这样做,
{
"envelopeIds": [
"44c5ad6c-xxxx-xxxx-xxxx-ebda5e2dfe15",
"8e26040d-xxxx-xxxx-xxxx-1e29b924d237",
"c8b40a2d-xxxx-xxxx-xxxx-4fe56fe10f95"
]
}
但是,如果我在正文中使用 "envelopeIds",我会得到:
{
"errorCode": "INVALID_REQUEST_PARAMETER",
"message": "The request contained at least one invalid parameter. Query parameter 'from_date' must be set to a valid DateTime, or 'envelope_ids' or 'transaction_ids' must be specified."
}
将“envelopeIds”替换为“envelope_ids”我得到:
回复:
{
"errorCode": "UNSPECIFIED_ERROR",
"message": "Object reference not set to an instance of an object."
}
甚至使用 逗号分隔列表 之类的,我也会得到同样的错误:
正文:
{ "envelopeIds": "44c5ad6c-xxxx-xxxx-xxxx-ebda5e2dfe15,8e26040d-xxxx-xxxx-xxxx-1e29b924d237"}
回复:
{
"errorCode": "UNSPECIFIED_ERROR",
"message": "Object reference not set to an instance of an object."
}
如有任何帮助,我们将不胜感激。我已经使用邮递员和 DocuSign 的 API 资源管理器进行了尝试。
您需要在 URL 中包含 ?envelope_ids=request_body
。
然后它应该与 body:
{
"envelopeIds": [
"44c5ad6c-xxxx-xxxx-xxxx-ebda5e2dfe15",
"8e26040d-xxxx-xxxx-xxxx-1e29b924d237",
"c8b40a2d-xxxx-xxxx-xxxx-4fe56fe10f95"
]
}