Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

YouTube Api V3: Access not configured

Tags:

youtube

api

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

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.',

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

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?

like image 256
Le Buzz Avatar asked Jan 29 '19 09:01

Le Buzz


People also ask

Why is YouTube API not working?

My YouTube API Key is Not Working Your API key may not be working because you're using it for the wrong project. Be sure you're using the key for the project that you created it for, especially if you created multiple projects at the same time. If it's still not working, consider creating a new API key entirely.

Is YouTube data API v3 free?

Yes, using the YouTube API does not incur any monetary cost for the entity calling the API. If you go over your quota an 403 Error will be returned by the API.

Can you still use YouTube API v2?

What should I do? You can continue using the v2 API for comments and uploading video captions for now, and we'll be adding this functionality into the v3 API soon. While we don't have specific dates yet, we will release that functionality so that developers have as much time as possible to migrate to v3.


1 Answers

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

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.

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 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.

like image 142
Le Buzz Avatar answered Oct 20 '22 23:10

Le Buzz