Месяц назад я создал визуализацию Youtube с помощью YouTube API, и все было замечательно, пока на прошлой неделе API просто не перестал отвечать.
Пытался;
Одна вещь, которую я не пробовал, - это создание нового проекта, поскольку у меня нет разрешения на это. (https://stackoverflow.com/a/54456853/447988)
Глядя на отчет, все выглядит нормально https://imgur.com/a/wIwWwrJ
Код прост;
https://www.googleapis.com/youtube/v3/videos?part=snippet,contentDetails,statistics&chart=mostPopular®ionCode=JP&maxResults=50&key=xxx
Ошибка следующая;
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. YouTube Data API has not been used in project xxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=xxx then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
"extendedHelp": "https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=xxx"
}
],
"code": 403,
"message": "Access Not Configured. YouTube Data API has not been used in project xxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=xxx then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
}
}