Learn how to fix YouTube quota or limit exceeded issue on Kodi. If you are one of Kodi user who constantly facing quota exceeded or limit exceeded issue on YouTube video add-on on Kodi, here is how you can fix it.
Basically, the problem is related to the API key that the developer use for this video add-on. All Kodi users who run YouTube video add-on will be using the same API.
As we know, Google caps API usage and due to this reason, this same API used by all Kodi users will hit its cap every day.
To fix the issue due to the API cap, you need to use your own personal API keys. To enable YouTube to use Personal API Keys, you have to create those keys yourself and here is how you can do it.
Thanks to jmh2002 for the guide on official Kodi forum. Let’s dive in.
Fix YouTube quota or limit exceeded issue in Kodi
Make sure to follow every step exactly as provided below. I did my best to put all the steps in the right order so you won’t have any issue later on.
1. Create Google Cloud Platform
- Open your internet browser.
- Go to https://console.cloud.google.com/.
- Beside Google Cloud Platform on the top left, select Project > Create project.
- In the New project window, in Project name box, enter any name that will let you recognize the project in the console.
- Click Create.
Done create new Google Cloud Platform project.
2. Enable YouTube Data API
- Go to https://console.developers.google.com/apis/library.
- Under YouTube APIs menu, click YouTube Data API.
- On the next page, click Enable.
Done enable YouTube API.
3. Create YouTube API
- Go to https://console.cloud.google.com/apis/credentials.
- Select Create credentials > API Key.
- In API key created window, there will be your API key. Copy and paste this API key in any text editor and save as API Key.
- Click Close to close the window.
Done create YouTube API.
4. Create OAuth client ID
- On the same page, select Create credentials > OAuth client ID.
- Select Configure consent screen.
- On the next page, in Product name shown to users box, put any name you want and click Save.
- On the next page, from the list of Application type, select Other and click Create button.
- In OAuth client window, you will get your client ID and client secret. Copy and paste both IDs in any text editor.
- For client ID, once you paste into the text editor, please select and remove “.apps.googleusercontent.com” from the letter and save as API Id
- For client secret, save as API Secret
Note: Now, you should have 3 text editor files name as API Key, API Id, and API secret.
5. Paste all API keys and ID into YouTube video add-on
- Open Kodi.
- At the HOME screen, select Video.
- Select Add-ons.
- Right-click (or long-press) on YouTube video add-on.
- Select Sign out.
- Select Add-on settings.
- At the top menu, select Advanced tab.
- In Cache Size (MB) setting, set it at 20.
- At the top menu, select API tab.
- Click on Enable Personal API Keys to enable it.
- Once you enable API key, there will be three empty boxes named API Key, API Id and API Secret.
- Copy and paste your API Key, ID and Secret into the appropriate box.
- Once done, click Ok button.
- Click Sign in and proceed with the normal 2 times web activation.
- Use dedicated Kodi power button to exit Kodi to preserve the changes.
Done. You should now be using the new Personal API Keys.
By following above steps, you’ll be using your own personal API key, in another words, you are using your own YouTube quota. Since you are not sharing with anybody else, the chances to hit the cap usage is very slim.
Hope this tutorial can help you fix the issue. Let me know in the comment if I miss anything.