DocuSign account settings : invalid value specified for parameter: authenticationCheck

馋奶兔 提交于 2019-12-25 04:24:41

问题


When we are updating DocuSign account settings using below REST API method its giving below error.

PUT /v2/accounts/{accountId}/settings

Payload {"accountSettings":[{"name":"authenticationCheck","value":"each_access"}]}

Result { "errorCode": "INVALID_REQUEST_PARAMETER", "message": "The request contained at least one invalid parameter. Invalid value specified for parameter: authenticationCheck" }

As per this error "authenticationCheck" is invalid parameter. But it is valid parameter because same parameter we are getting while retrieving of account settings using below REST API method.

GET /v2/accounts/{accountId}/settings

Result {"accountSettings": [{"name": "authenticationCheck","value": "inital_access"}]}

Can anyone help us how can we update this.


回答1:


The PUT is correct, you just need to modify your JSON:

{
  "accountSettings": [
    {
      "name": "authenticationCheck",
      "value": "each_access"
    }
  ]
}

or

{
  "accountSettings": [
    {
      "name": "authenticationCheck",
      "value": "initial_access"
    }
  ]
} 


来源:https://stackoverflow.com/questions/39037891/docusign-account-settings-invalid-value-specified-for-parameter-authenticatio

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!