gpt4 book ai didi

google-api - 仅一天后 Google 日历 API "The requested minimum modification time lies too far in the past."

转载 作者:行者123 更新时间:2023-12-03 03:05:16 24 4
gpt4 key购买 nike

我的代码使用带有以下参数的 service.events().list() 获取日历事件:

timeMax: 2015-11-13T04:12:44.263000Z
timeMin: 2014-05-17T04:12:44.263000Z
updatedMin: 2014-11-12T14:56:20.395000Z # = yesterday

我知道 updatedMin 参数有一个限制,可以防止它距过去太远,但最近即使 updatedMin,我也会收到以下错误>昨天:

The requested minimum modification time lies too far in the past.

Everywhere this error提到的,他们谈论的是大约的限制。 20 天过去了,当然不是一天了。

有什么想法导致此错误吗?

最佳答案

@Tzach,我在 API explorer 中尝试了上述查询具有相同的值,并且返回结果没有任何错误,除非超过 20 天。正如 Luc 所说,最好切换到syncTokens,这样可以节省带宽。

关于google-api - 仅一天后 Google 日历 API "The requested minimum modification time lies too far in the past.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26904159/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com