SathyaBhat / spotify-dl

Downloads songs from your Spotify Playlist
http://sathyasays.com/2015/12/29/spotify-dl-download-your-spotify-my-music-songs-as-mp3/
MIT License
1.74k stars 214 forks source link

youtubeAPI error #55

Closed day4me closed 4 years ago

day4me commented 5 years ago

googleapiclient.errors.HttpError: <HttpError 403 when requesting https://www.googleapis.com/youtube/v3/search?q=Frequency+-+Matt+Nash&part=id%2C+snippet&key=AIzaSyCHPBf2GOLGgl2j_dI4MuLYD_Q2VmX1BJ4&alt=json returned "Access Not Configured. YouTube Data API has not been used in project 650384262474 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=650384262474 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."> YoutubeAPI works

alvierahman90 commented 5 years ago

Have you tried using the link that the error message says[0]?

[0] https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=650384262474

On Thu, 27 Dec 2018, 21:24 day4me <notifications@github.com wrote:

googleapiclient.errors.HttpError: <HttpError 403 when requesting https://www.googleapis.com/youtube/v3/search?q=Frequency+-+Matt+Nash&part=id%2C+snippet&key=AIzaSyCHPBf2GOLGgl2j_dI4MuLYD_Q2VmX1BJ4&alt=json returned "Access Not Configured. YouTube Data API has not been used in project 650384262474 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=650384262474 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."> YoutubeAPI works

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SathyaBhat/spotify-dl/issues/55, or mute the thread https://github.com/notifications/unsubscribe-auth/AV798qmuoiOzBn74TtI8ip_Ens_-HD51ks5u9TqWgaJpZM4ZjNGM .

day4me commented 5 years ago

Yes, I tried. I created new key but i doesn't work.

alvierahman90 commented 5 years ago

It asked you to enable the key not create a new one though

On Thu, 27 Dec 2018, 21:46 day4me <notifications@github.com wrote:

Yes, I tried. I created new key but i doesn't work.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SathyaBhat/spotify-dl/issues/55#issuecomment-450236650, or mute the thread https://github.com/notifications/unsubscribe-auth/AV798spf424Yyajhje_FDi3tCYVqpUELks5u9T-egaJpZM4ZjNGM .

day4me commented 5 years ago

It was enabled so i try to create a new one

mr-karan commented 5 years ago

It looks more like an API key issue, as the error says:

If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.

Did you enable Youtube Data API and retry?

day4me commented 5 years ago

Yes

SathyaBhat commented 5 years ago

As others mentioned, it's more of YouTube API issue. If you have any adblockers such as uBlock origin, I recommend disabling adblockers for the site, reload, disable and re-enable the key and try again in 10 minutes.

If that doesn't work, post a screenshot of https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=650384262474

It should look like below

image

day4me commented 5 years ago

The same error. yapi

SathyaBhat commented 4 years ago

I recently ran into this. This happens when you have an old API key which was created long back and never used, especially ones before the quotas were changed. Google silently deactivates them but from the UI it still shows as activated. The only workaround is create a new project & key