【问题标题】:Problem creating new account using docusign API使用 docusign API 创建新帐户时出现问题
【发布时间】:2018-10-31 13:06:48
【问题描述】:

当我尝试使用 API 创建新帐户时,出现此错误:

{ "error": "internal_server_error", "error_description": "No site id
was found for region: None", "reference_id":
"e2ff6d67-119e-4b04-9325-512047e5baf5" }

我的有效载荷是:

{  "accounts": [  {
        "address": {
        "street_address": "santendar",
        "locality": "santendar",
        "region": "spanish area",
        "country": "ESP",
        "postal_code": "34567",
        "phone": "12345"
      },
       "admin_user": {
        "email_address": "abhistar002@gmail.com",
        "first_name": "test",
        "last_name": "team",
        "job_title": "somejob"
      },
      "name": "testAccount",
      "plan_id": "**********************",
      "website": "example.com",
      "reseller_id": "***********",
      "customer_id": "************",
      "paid_seats": "2"
    }   ] }

以前有效。我已经使用这种 API 结构创建了许多帐户。

有什么建议可以解决这个问题吗?

【问题讨论】:

  • 您是如何提出请求的? URL 和标头信息是什么?请将其添加到您的问题中。

标签: api new-operator docusignapi account


【解决方案1】:

如果您查看此https://developers.docusign.com/esign-rest-api/reference/Accounts/Accounts/create,您会发现呼叫的地址部分有些不同,应该如下所示:

 "address": {
      "street1": "sample string 1",
      "street2": "sample string 2",
      "city": "sample string 3",
      "state": "sample string 4",
      "zip": "sample string 5",
      "phone": "sample string 6",
      "fax": "sample string 7",
      "country": "sample string 8"
    }

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-10-02
    • 2021-02-22
    • 2017-01-02
    • 1970-01-01
    • 1970-01-01
    • 2013-08-01
    • 1970-01-01
    相关资源
    最近更新 更多