DocuSign 帐户设置:为参数指定的值无效:authenticationCheck
DocuSign account settings : invalid value specified for parameter: authenticationCheck
当我们使用以下 REST API 方法更新 DocuSign 帐户设置时,出现以下错误。
PUT /v2/accounts/{accountId}/settings
有效负载
{"accountSettings":[{"name":"authenticationCheck","value":"each_access"}]}
结果
{
"errorCode": "INVALID_REQUEST_PARAMETER",
"message": "The request contained at least one invalid parameter. Invalid value specified for parameter: authenticationCheck"
}
根据此错误,"authenticationCheck" 是无效参数。但它是有效参数,因为我们在使用以下 REST API 方法检索帐户设置时得到的参数相同。
GET /v2/accounts/{accountId}/settings
结果
{"accountSettings":[{"name":"authenticationCheck","value":"inital_access"}]}
任何人都可以帮助我们如何更新它。
PUT是正确的,你只需要修改你的JSON:
{
"accountSettings": [
{
"name": "authenticationCheck",
"value": "each_access"
}
]
}
或
{
"accountSettings": [
{
"name": "authenticationCheck",
"value": "initial_access"
}
]
}
当我们使用以下 REST API 方法更新 DocuSign 帐户设置时,出现以下错误。
PUT /v2/accounts/{accountId}/settings
有效负载 {"accountSettings":[{"name":"authenticationCheck","value":"each_access"}]}
结果 { "errorCode": "INVALID_REQUEST_PARAMETER", "message": "The request contained at least one invalid parameter. Invalid value specified for parameter: authenticationCheck" }
根据此错误,"authenticationCheck" 是无效参数。但它是有效参数,因为我们在使用以下 REST API 方法检索帐户设置时得到的参数相同。
GET /v2/accounts/{accountId}/settings
结果 {"accountSettings":[{"name":"authenticationCheck","value":"inital_access"}]}
任何人都可以帮助我们如何更新它。
PUT是正确的,你只需要修改你的JSON:
{
"accountSettings": [
{
"name": "authenticationCheck",
"value": "each_access"
}
]
}
或
{
"accountSettings": [
{
"name": "authenticationCheck",
"value": "initial_access"
}
]
}