YouTube Api V3:未配置访问权限 [英] YouTube Api V3: Access not configured

查看:28
本文介绍了YouTube Api V3:未配置访问权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用的api key被给我的人删除了,没什么大不了的,我可以自己生成一个.

The api key I used was deleted by the Person who gave it to me, no big deal, I can generate my own one.

我创建了项目,激活了对 YouTube api 的访问权限,创建了我的密钥并尝试在我的项目中使用它.

I created the Project, activated the Access to the YouTube api, created my key and tryed to use it in my Project.

起初我得到消息,密钥可能是坏的或不存在.几分钟后,密钥似乎已注册,但现在我收到一条不同的错误消息:

At first I got the message, that the key would be bad or was non existing. After a few minutes, the key seemed to be registered, but now i get a different error message:

   domain: 'usageLimits',
   reason: 'accessNotConfigured',
   message: 'Access Not Configured. YouTube Data API has not been used in project 'my Project id' before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project='my Project id' then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.',

当我打开给定的 URL 时,我只看到 API 已激活的概述,其中甚至提到了:活动状态活跃

When I open the given URL, i just get the overview, where even is mentioned, that the API is activated: Aktivierungsstatus Aktiviert

我尝试删除我的密钥,再次停用 API,重新激活它,然后创建一个新密钥.我将我的域添加到受信任的域中.对调用和API尝试了不同的限制,甚至取消了所有限制.

I tried to delete my key, deactivate the API again, reactivate it, and create a new key. And I added my Domain to the trusted Domains. Tried different restrictions for the calling and the APIs, and even removed all restrictions.

可能导致问题的原因是什么?

What could cause the problem?

推荐答案

我或多或少(没有)解决了问题.

I more or less (didn't) solve the Problem.

总的来说,在等待了几天之后,重新创建密钥,重新激活 api 等等,我今天放弃了.浏览了许多教程和博客文章,并就如何将 api 用于 WordPress YouTube 插件做了一个分步指南.

After waiting for some days Overall, and recreating keys, reactivating the api and much more, i gave up today. Looked through many tutorials and blog Posts and just did a step by step guide on how to use the api for a WordPress YouTube Plugin.

因此,我在同一个 Google 帐户上创建了一个新项目(几乎相同的名称),激活了 api,创建了 api 密钥,并且在第一次尝试时,无需等待或任何事情,它就成功了.

So, i created a new Project (almost identical Name) on the same Google account, activated the api, created the api key, and on the first try, without waiting or anything, it worked.

3 个步骤:- 创建一个新项目- 激活api- 创建 api 密钥

3 Steps: - Create a new Project - Activate the api - Create the api key

我不知道为什么这在我的第一个项目中不起作用,因为我做了完全相同的步骤.

I dont know why this does not work on my first Project, as i did the exact identical steps.

这篇关于YouTube Api V3:未配置访问权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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