youtube-apiyoutube-data-apiquota

YouTube: The request cannot be completed because you have exceeded your quota


I am using a couple of different tools: Powershell-YouTube-Upload & YouTube Kodi Addon that require a valid Google Cloud API client ID and client secret. However, in both cases, they return the same error message:

The request cannot be completed because you have exceeded your quota

I think I'm doing something wrong when creating my Google Cloud project and respective OAuth 2.0 Client ID (with respective clientID & client secret).

Could someone tell me the minimum steps necessary to create a Google Cloud API project and respective clientID/client secret that doesn't produce the "exceeded your quota" error message?


Solution

  • Quota is the number of requests your application is allowed to make in a period of time.

    Remember that the YouTube api is cost based not request based so each request you make has a cost. You can see the Cost calculator here

    You will need to make fewer requests if you have reached the end of your quota or request additional quota.

    Intro to YouTube API and cost based quota for beginners 2021.

    Where to find your current quota

    Go to Google cloud console for your project under library. search for YouTube data api click on it and you should see this

    enter image description here

    Click the manage button

    Then on the left click on quota

    enter image description here

    This is where you can see how much quota your application currently has.

    If your current quota says 0 don't be alarmed this happens and you will just need to apply for a quota extension before you can use the API.

    Click the link at the top of the page

    enter image description here

    Getting an extension can take anywhere from a week to three months. So be patent