【问题标题】:Invalid country code when using directory.customers.update使用 directory.customers.update 时国家代码无效
【发布时间】:2015-11-23 13:07:16
【问题描述】:

当我调用:directory.customers.update 并提供以下信息

客户密钥:......

body:
{
"customerDomain": "mydomain.fr",
 "alternateEmail": "john.doe@mydomain.be",
 "postalAddress": {
    "contactName": "John Doe",
    "organizationName": "My Domain",
    "countryCode": "FR"
 } 
}
I get {
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "invalid",
    "message": "Invalid country code"
   }
  ],
  "code": 400,
  "message": "Invalid country code"
 }
}

还有这个,不管国家代码是什么

【问题讨论】:

  • 这个有什么更新吗?

标签: google-directory-api


【解决方案1】:

除了升级到付费版本之外,祖父 G Suite 帐户无法更改国家/地区代码。

【讨论】:

  • 其实升级到付费版也无法更改。国家/地区分配在 2015 年的某个时候被冻结。我记得我仍然能够在 2014 年底更改国家/地区代码。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-10-16
  • 1970-01-01
  • 2017-04-09
  • 2012-10-12
  • 2017-01-05
  • 1970-01-01
相关资源
最近更新 更多