YouTube daily query quota exceeded, so clicking the YouTube icon on a media panel fails with HTTP code 403.
_Expected_: YouTube opens with search
_Result_: Nothing happens when YouTube icon is clicked
Chrome client console log:
jquery-2.2.4.min.js:4 GET https://www.googleapis.com/youtube/v3/search?part=snippet&q=My%20Hero%20Academia%202016%20movie+official+trailer&part=snippet&maxResults=1&type=video&videoDuration=short&key=AIzaSyD-8SHutB60GCcSM8q_Fle38rJUV7ujd8k 403
send @ jquery-2.2.4.min.js:4
ajax @ jquery-2.2.4.min.js:4
youtubeSearch @ functions.js?v=cdc55ce8958fe5f146b809a7fe4993a6b4147609:6423
youtubeCheck @ functions.js?v=cdc55ce8958fe5f146b809a7fe4993a6b4147609:6428
onclick @ (index):1
functions.js?v=cdc55ce8958fe5f146b809a7fe4993a6b4147609:6439 Organizr Function: YouTube Connection Failed
(anonymous) @ functions.js?v=cdc55ce8958fe5f146b809a7fe4993a6b4147609:6439
i @ jquery-2.2.4.min.js:2
fireWith @ jquery-2.2.4.min.js:2
z @ jquery-2.2.4.min.js:4
(anonymous) @ jquery-2.2.4.min.js:4
load (async)
send @ jquery-2.2.4.min.js:4
ajax @ jquery-2.2.4.min.js:4
youtubeSearch @ functions.js?v=cdc55ce8958fe5f146b809a7fe4993a6b4147609:6423
youtubeCheck @ functions.js?v=cdc55ce8958fe5f146b809a7fe4993a6b4147609:6428
onclick @ (index):1
jquery-2.2.4.min.js:4 XHR failed loading: GET "https://www.googleapis.com/youtube/v3/search?part=snippet&q=My%20Hero%20Academia%202016%20movie+official+trailer&part=snippet&maxResults=1&type=video&videoDuration=short&key=AIzaSyD-8SHutB60GCcSM8q_Fle38rJUV7ujd8k".
send @ jquery-2.2.4.min.js:4
ajax @ jquery-2.2.4.min.js:4
youtubeSearch @ functions.js?v=cdc55ce8958fe5f146b809a7fe4993a6b4147609:6423
youtubeCheck @ functions.js?v=cdc55ce8958fe5f146b809a7fe4993a6b4147609:6428
onclick @ (index):1
JSON response from googleapis.com:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "dailyLimitExceeded",
"message": "Daily Limit Exceeded. The quota will be reset at midnight Pacific Time (PT). You may monitor your quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/youtube.googleapis.com/quotas?project=650259591802",
"extendedHelp": "https://console.developers.google.com/apis/api/youtube.googleapis.com/quotas?project=650259591802"
}
],
"code": 403,
"message": "Daily Limit Exceeded. The quota will be reset at midnight Pacific Time (PT). You may monitor your quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/youtube.googleapis.com/quotas?project=650259591802"
}
}
hmmm, i will have to take a look at this.

I have submitted a request to YT to get our quota increased.

It seems we are hitting or almost hitting the cap daily.
Side note - if we get denied - I will add a field for the user to enter their own key.
Hello,
Your quota extension request has been rejected based on the information you provided due to the following reason:
The project number provided is invalid. To find the project number associated with your YouTube API Client, follow the steps provided here
Do not reply to this email, you may complete and submit this form to re-apply once the above concern have been addressed.
Regards,
YouTube API Services Team
Apparently I had the wrong project number listed - resubmitting now.
...........and we got denied by those assholes. oh well.... fix incoming along with multiple keys for other users.
Most helpful comment
Side note - if we get denied - I will add a field for the user to enter their own key.