Google Calendar API:超出日历使用限制 [英] Google Calendar API: Calendar usage limits exceeded

查看:28
本文介绍了Google Calendar API:超出日历使用限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个在 Google Apps 域之间进行迁移的应用程序.对于日历迁移,我们使用导入 API(https://developers.google.com/google-应用程序/日历/v3/reference/events/import).在过去的六个月中,我们进行了大量的日历迁移.但是大约一周前,我们遇到了新的导入 API 错误:

We have an application that does migrations between Google Apps domains. For calendar migrations we using Import API(https://developers.google.com/google-apps/calendar/v3/reference/events/import). For last six months we did a lot of calendar migrations. But about week ago we faced with new API error for import:

    "error"=>
  {"errors"=>[
    {"domain"=>"usageLimits",
    "reason"=>"quotaExceeded",
    "message"=>"Calendar usage limits exceeded."}], 
  "code"=>403, 
  "message"=>"Calendar usage limits exceeded."

上周我们收到了很多超出日历使用限制"的消息.来自不同域的用户的错误.根据 Google API 控制台,我们没有达到每日配额限制.对于我们的应用,我们使用 2legged 授权.

Last week we got a lot of "Calendar usage limits exceeded." errors for users from different domains. Accordingly to Google API Console we didn't reach daily quota limit. For our app we using 2legged authorization.

请帮助我们了解超出日历使用限制"是什么意思.意思是?我们如何防止这个错误?在哪里可以找到有关日历使用限制的信息?

Please help us understand what does "Calendar usage limits exceeded." mean? How we can prevent this error? Where we can find information about Calendar usage limits?

推荐答案

我找到了这个官方支持文档,下面是一些简要信息,希望对您有所帮助:https://support.google.com/a/answer/2905486?hl=en

I found this official support document, and here's some brief info below, hope it helps: https://support.google.com/a/answer/2905486?hl=en

超出日历使用限制.这是 API 调用的结果.(不要将此与消息超出每日配额"混淆,后者表示 API 配额不足.)

Calendar usage limits exceeded. This is the result of an API call. (Don't mix this up with the message "Daily quota exceeded," which points to insufficient API quota.)

如果用户看到其中一条消息,可能是由于以下原因之一:

If a user sees one of these messages it’s probably due to one of the following reasons:

  • 创建过多的事件

如果用户在短时间内在其日历中创建了 10,000 多个事件,则该用户可能会失去日历编辑权限.

If a user has created more than 10,000 events in his or her calendar within a short period of time, that user might lose calendar edit access.

  • 创建的日历过多

如果用户在短时间内创建了超过 25 个新日历,该用户的日历可能会进入只读模式.

If a user creates more than 25 new calendars within a short period of time, that user's calendar might go into read-only mode.

  • 向外部客人发送过多邀请或电子邮件

为了防止垃圾邮件,Google 日历限制了用户可以发送给外部访客的邀请数量.此限制因操作而异,通常在 100-300 位客人之间.

In order to prevent spamming, Google Calendar limits the number of invitations a user can send to external guests. This limit varies depending on the action, and is usually between 100-300 guests.

Google Apps 用户可以从其主域或与其主域关联的辅助域向任意数量的访客发送邀请.

Google Apps users can send invitations to any number of guests from their primary domain, or from secondary domains associated with their primary domain.

  • 与过多用户共享日历

如果用户在短时间内与许多其他用户共享一个或多个日历,Google 日历可能会切换到该用户的只读模式.手动更新共享设置几乎不可能达到此限制,但某些基于 API 的工具或第三方应用可能会发生这种情况.

If a user shares one or more calendars with many other users within a short period of time, Google Calendar might switch into read-only mode for that user. It’s almost impossible to reach this limit by updating sharing settings manually, but it can happen with some API-based tools or third-party apps.

这篇关于Google Calendar API:超出日历使用限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆