People API: FBS quota limit exceeded

我怕爱的太早我们不能终老 提交于 2021-02-05 09:18:11

问题


While syncing contacts using the People API, I've run into a quota limit error which I don't understand and haven't found any information about it on the net. The error is the following:

"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."
      }
    ]
  }
]

Does anyone have any idea what this error is related to ?

Thanks


回答1:


I have decided to create an answer from my comment, for future reference.

The error 429 indicates that you maybe violating the google's terms of service (especially under d. API Limitations). To quote it:

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).

When you made too many calls you were probably put on a blacklist, which expires in some time. The limit for People API. You need to apply for higher quotas.

For example, Google Play Developer API has a 200 000 calls per day, you have to request if you need more.

The google probably wants you to have a good reason to have more and also is protecting from the DDOS attacks.



来源:https://stackoverflow.com/questions/53846895/people-api-fbs-quota-limit-exceeded

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