Organizr: YouTube daily query quota is too low

Created on 4 Jan 2020  路  5Comments  路  Source: causefx/Organizr

Organizr Version: V 2.0.325
Branch: v2-master
WebServer: nginx/1.16.1
Operating System: Ubuntu/Docker

Problem Description:

YouTube daily query quota exceeded, so clicking the YouTube icon on a media panel fails with HTTP code 403.


Reproduction Steps:
  1. Open / log in to Organizr on desktop/web
  2. Click a "Recently Added" media item
  3. Click the YouTube icon

_Expected_: YouTube opens with search

_Result_: Nothing happens when YouTube icon is clicked


Errors on screen? If so paste here:

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"
 }
}

Most helpful comment

Side note - if we get denied - I will add a field for the user to enter their own key.

All 5 comments

hmmm, i will have to take a look at this.

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

image

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bbviking picture bbviking  路  3Comments

mpalermo73 picture mpalermo73  路  3Comments

that1guy picture that1guy  路  5Comments

xavier84 picture xavier84  路  5Comments

roblandry picture roblandry  路  5Comments