人 API:超出 FBS 配额限制

People API: FBS quota limit exceeded

在使用 People API 同步联系人时,我 运行 遇到了一个我不明白的配额限制错误,也没有在网上找到任何相关信息。错误如下:

"error": {
"code": 429,
"message": "Resource has been exhausted (e.g. check quota).",
"status": "RESOURCE_EXHAUSTED",
"details": [
  {
    "@type": "type.googleapis.com/google.rpc.QuotaFailure",
    "violations": [
      {
        "subject": "QUOTA_EXCEEDED",
        "description": "FBS quota limit exceeded."
      }
    ]
  }
]

有人知道这个错误与什么有关吗?

谢谢

我决定根据我的评论创建一个答案,以供将来参考。

错误429表明您可能违反了google's terms of service(尤其是在d.API下的限制)。引用它:

d. API Limitations

Google sets and enforces limits on your use of the APIs (e.g. limiting the number of API requests that you may make or the number of users you may serve), in our sole discretion. You agree to, and will not attempt to circumvent, such limitations documented with each API. If you would like to use any API beyond these limits, you must obtain Google's express consent (and Google may decline such request or condition acceptance on your agreement to additional terms and/or charges for that use). To seek such approval, contact the relevant Google API team for information (e.g. by using the Google developers console).

当您拨打过多电话时,您可能会被列入黑名单,该名单将在一段时间后到期。 People API 的限制。您需要申请更高的配额。

例如,Google Play Developer API每天有20万个电话,如果需要更多,您必须提出要求。

google 可能希望您有充分的理由拥有更多,并且还可以防止 DDOS 攻击。