【发布时间】:2021-09-03 19:53:27
【问题描述】:
我正在使用 API REST 资源:userUsageReport [https://developers.google.com/admin-sdk/reports/reference/rest/v1/userUsageReport]。
这周之前一切都很好。这周我开始收到很多警告。奇怪的是,如果我查询 8 月 31 日和 8 月 29 日,我会收到很多警告,但如果我查询 8 月 30 日,那就没问题了
"warnings": [
{
"code": "PARTIAL_DATA_AVAILABLE",
"message": "Data for date 2021-08-31 for application gmail is not available right now, please try again after a few hours.",
"data": [
{
"key": "date",
"value": "2021-08-31"
},
{
"key": "application",
"value": "gmail"
}
]
},
{
"code": "PARTIAL_DATA_AVAILABLE",
"message": "Data for date 2021-08-31 for application accounts is not available right now, please try again after a few hours.",
"data": [
{
"key": "date",
"value": "2021-08-31"
},
{
"key": "application",
"value": "accounts"
}
]
},
{
"code": "PARTIAL_DATA_AVAILABLE",
"message": "Data for date 2021-08-31 for application docs is not available right now, please try again after a few hours.",
"data": [
{
"key": "date",
"value": "2021-08-31"
},
{
"key": "application",
"value": "docs"
}
]
},
{
"code": "PARTIAL_DATA_AVAILABLE",
"message": "Data for date 2021-08-31 for application gplus is not available right now, please try again after a few hours.",
"data": [
{
"key": "date",
"value": "2021-08-31"
},
{
"key": "application",
"value": "gplus"
}
]
},
{
"code": "PARTIAL_DATA_AVAILABLE",
"message": "Data for date 2021-08-31 for application classroom is not available right now, please try again after a few hours.",
"data": [
{
"key": "date",
"value": "2021-08-31"
},
{
"key": "application",
"value": "classroom"
}
]
},
{
"code": "PARTIAL_DATA_AVAILABLE",
"message": "Data for date 2021-08-31 for application drive is not available right now, please try again after a few hours.",
"data": [
{
"key": "date",
"value": "2021-08-31"
},
{
"key": "application",
"value": "drive"
}
]
}
],
知道为什么会这样吗?
【问题讨论】:
-
我尝试同时使用 API Explorer 和管理控制台来获取 2021-08-31 的用户使用情况报告,并遇到了类似的问题。在管理控制台中,它显示“所选日期的数据不可用。请尝试在 2021 年 8 月 30 日下午 5:00 PDT (GMT-0700) 之前的日期。您可能想在issuetracker.google.com 中提交错误
-
完成!非常感谢!
标签: google-admin-sdk