Barzrul Tech

Life hack tutorial & review.

About · Contact · Disclaimer · Privacy Policy

How to fix YouTube quota or limit exceeded issue in Kodi

·

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.

How to 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

  1. Open your internet browser.
  2. Go to https://console.cloud.google.com/.
  3. Beside Google Cloud Platform on the top left, select Project > Create project.
  4. In the New project window, in Project name box, enter any name that will let you recognize the project in the console.
  5. Click Create.

Done create new Google Cloud Platform project.

2. Enable YouTube Data API

  1. Go to https://console.developers.google.com/apis/library.
  2. Under YouTube APIs menu, click YouTube Data API.
  3. On the next page, click Enable.

Done enable YouTube API.

3. Create YouTube API

  1. Go to https://console.cloud.google.com/apis/credentials.
  2. Select Create credentials > API Key.
  3. 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.
  4. Click Close to close the window.

Done create YouTube API.

4. Create OAuth client ID

  1. On the same page, select Create credentials > OAuth client ID.
  2. Select Configure consent screen.
  3. On the next page, in Product name shown to users box, put any name you want and click Save.
  4. On the next page, from the list of Application type, select Other and click Create button.
  5. 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

  1. Open Kodi.
  2. At the HOME screen, select Video.
  3. Select Add-ons.
  4. Right-click (or long-press) on YouTube video add-on.
  5. Select Sign out.
  6. Select Add-on settings.
  7. At the top menu, select Advanced tab.
  8. In Cache Size (MB) setting, set it at 20.
  9. At the top menu, select API tab.
  10. Click on Enable Personal API Keys to enable it.
  11. Once you enable API key, there will be three empty boxes named API Key, API Id and API Secret.
  12. Copy and paste your API Key, ID and Secret into the appropriate box.
  13. Once done, click Ok button.
  14. Click Sign in and proceed with the normal 2 times web activation.
  15. 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.

Comments

22 responses to “How to fix YouTube quota or limit exceeded issue in Kodi”

  1. Linda Olmert Avatar
    Linda Olmert

    HI. Got stuck on step 2. No project button! Streamer Android 6.1

    1. Barzrul Avatar

      Hi, if you are using chrome and open it using Android.. you can open the web site and click “Request dekstop site” from the 3-dots menu. Then u will see “Create project” on the right “Cloud Platform”.

  2. Justme Avatar
    Justme

    Barzrul, Thank you for providing the solution to the Quota Exceeded message, I follow your instruction and it works like a charm, however I ran into problem with key invalid, at the beginning, that was user entry fault, it was the letter (i) was capitalize and looks like lower case (l, upper case L), I converted the fonts of the key to Times New Roman this is how I was able to tell the difference. As soon as fix the issue, everything works thereafter.

    1. Barzrul Avatar

      Hi, great to know you able to solve the issue and thank you for sharing the tips. Hope it can help others who has the same issue.

  3. Barzrul Avatar

    Hi, make sure to use Kodi power button to exit/shut down Kodi apps once signed out from YouTube add-on.

    1. sanguine Avatar
      sanguine

      As I understood your instructions, I used the YouTube app “Sign in” and “Sign out” selections in the YouTube screen which also has the “Settings” selection. I subsequently went to the Amazon Fire main screen: Settings, Apps, Manage Apps, Kodi, Force Stop, and shut down Kodi app. Then re-started Kodi. No API entries in YouTube app “Settings”—all blank even though the “personal API” line was still selected with the lit button.

      Are you saying I should not have used the YouTube app “Sign out” before a “Force Stop” of the whole Kodi app?

      1. Barzrul Avatar

        Sign out and sign in using Youtube app. To shut down Kodi properly without losing any setting. Only use Kodi power button.

        1. sanguine Avatar
          sanguine

          Sorry to take so long to reply. Finally able to spend time working on Kodi You Tube app today, and it appears to have succeeded! Some observations that may be helpful for users with Kodi on Amazon Fire: First, update Paradox build to latest. Second, in You Tube app select Settings without signing in to You Tube on the Settings screen. Third, correctly enter the 3 API lines of code and select OK. Fourth, exit You Tube app and add-ons list (or thumbnails) screen. Fifth, and IMPORTANT, close Kodi using the “power” button symbol in the lower left corner of the Kodi “System” screen. Sixth, to re-start Kodi open Amazon Fire Home screen, then settings, then apps, then manage apps, then select Kodi AND ENTER “FORCE CLOSE” BEFORE selecting “Launch Application”.
          For some reason, selecting Launch App without first clicking Force Close would not launch Kodi—instead I got a dark blank TV screen on multiple tries.
          After finally getting Kodi to launch, I opened You Tube “settings” and, Hallelujah, the 3 keys are there!

          Thank you Barzrul for your help and patience.

        2. sanguine Avatar
          sanguine

          Now a new interesting question. We have 2 Amazon Fire devices on 2 different TVs in different part of house. Both on same Amazon account, and both connect to internet through same router/modem (with same IP) and same ISP. Do we need to obtain and install a different set of API keys on the second device, or will it use same API keys I just successfully installed on the 1st Amazon Fire? It is possible on rare occasions that both Amazon Fire devices could be in use at the same time but accessing different programming.

        3. Barzrul Avatar

          I use Kodi on my Android box for my TV, on my PC and on my phones. All are using same API Keys. I’m sure you can use the same API Keys on both devices and run them at the same time.

        4. Barzrul Avatar

          Wow great to know that, you are welcome. I’m glad I can help you to solve the issue.

    2. sanguine Avatar
      sanguine

      Also, what is the cause of the requirement to enter 2 separate 8 capital letter codes (each retrieved from my PC where I obtained the 3 API codes I manually entered in the Kodi device) in the Kodi YouTube app? And what is the meaning of the Kodi screen message that I must use 2 or more programs?

      1. Barzrul Avatar

        Its because you are activating different parts of Youtube.
        1. My subscription
        2. Others

        1. sanguine Avatar
          sanguine

          Although I am familiar with the operation of a Windows PC, I purchased an Amazon Fire TV device with Kodi already loaded. I have a much more limited understanding of how Kodi and its add-on apps work.

          Therefore, I would appreciate some further explanation:

          My Amazon Fire TV box is hard-wired to my router and the router automatically assigns an available IP to the Fire TV box when it is connected to the LAN. My separate modem is assigned an IP by my ISP. That IP is not fixed/ static and can change.
          Other than occasionally accessing YouTube thru my PC browser search engine, I do not use YouTube except indirectly thru Kodi add-ons which apparently somehow rely upon YouTube to function. My sole objective is to eliminate the “YouTube quota exceeded” error message which prevents those add-ons from loading a listed program I have selected and clicked on (for example, an episode of “Ancient Aliens, Season 5”).

          With respect to your most recent post, what are the “different parts of YouTube” , and what is the mechanism involved in eliminating the “quota exceeded” issue with Personal APIs when I attempt to use an Amazon Fire TV Kodi application to play a selection listed as available in the Kodi app add-on playlist?

          And if use of Personal API codes is to allow Kodi add-ons on my Amazon Fire TV to access YouTube by connecting thru a newly created “individual personal account” with a separate daily usage quota, why do I need more than one account or access to “different parts of YouTube”?

          And if, with your help, I am able to make the Kodi YouTube add-on retain the 3 Personal API keys I manually enter,
          will the other add-ons automatically be able to use these YouTube API keys to access a selected program from their playlist without running into the “Quota exceeded” limit? Or will I have to first do something with the Kodi YouTube add-on every time I start Kodi on the Amazon Fire TV device?

          Also, on my Kodi, the add-ons are selected directly below the “System” screen from a button labeled “add-ons”—not from a “Home Screen” (whatever that is) or a “Video” selection. Is your reference to a “Home Screen” different from the System” screen?

          Further, after opening the YouTube Kodi Add-on and before selecting “Settings”, there is also a “Sign-in” selection on the same screen (along with other selections including Search, Browse Channels, Live, etc.). If the “Sign-in” is selected a message appears: “You must enable two applications so that YouTube is functioning properly.” Then a sign-in begins which generates the 2 capital letter codes you are required to enter at “Youtube activate.com/activate” that I referred to in my earlier post.

          Is there any relevance of the “Sign-in” to the “fix” you have outlined?

          In that regard, is there any requirement to “Sign-in” (or “Sign-out”) to permanently add the 3 Personal API keys so they will be retained in Kodi, or to otherwise eliminate the YouTube Quota issue?

          I appreciate I have asked for a lot of information.
          Hopefully, the answers will also be of value to others. And if I understand what is taking place, I believe I will be able successfully apply your solution.

        2. Barzrul Avatar

          Hello.. refer below respond to your questions, hope I can help you to solve the issue:

          Q1: what are the “different parts of YouTube” , and what is the mechanism involved in eliminating the “quota exceeded” issue with Personal APIs when I attempt to use an Amazon Fire TV Kodi application to play a selection listed as available in the Kodi app add-on playlist?
          A1: When you activating YouTube APIs, you are activation two different features on YouTube– one (1) is for My Subscriptions and two (2) is for other features you are using on YouTube. Basically, YouTube add-on is using Google API to access YouTube, which means it has it own API Keys and this API Keys is being shared by all users who are using YouTube add-on. It somehow has a fixed daily quota and sometimes will reach it limits, this is where you will see error message “Quota limit exceeded”. To solve this issue is to use your own personal API Keys — the three API Keys you generated above.

          Q2: And if use of Personal API codes is to allow Kodi add-ons on my Amazon Fire TV to access YouTube by connecting thru a newly created “individual personal account” with a separate daily usage quota, why do I need more than one account or access to “different parts of YouTube”?
          A2: You are not creating more than one account, it is just you need to activate and give access to Youtube to use Youtube features as I mention in A1.

          Q3: will the other add-ons automatically be able to use these YouTube API keys to access a selected program from their playlist without running into the “Quota exceeded” limit?
          A3: Yes.

          Q4: Or will I have to first do something with the Kodi YouTube add-on every time I start Kodi on the Amazon Fire TV device?
          A4: Can’t answer you directly as I don’t own Amazon Fire TV. But it should be similar with Kodi on Windows or Android.

          Q5: Further, after opening the YouTube Kodi Add-on and before selecting “Settings”, there is also a “Sign-in” selection on the same screen (along with other selections including Search, Browse Channels, Live, etc.). If the “Sign-in” is selected a message appears: “You must enable two applications so that YouTube is functioning properly.” Then a sign-in begins which generates the 2 capital letter codes you are required to enter at “Youtube activate.com/activate” that I referred to in my earlier post.
          A5: This is the reason you need to sign in 2x times as I mentioned in A1.

          Q6: Is there any relevance of the “Sign-in” to the “fix” you have outlined?
          A6: Yes, you need to sign in to use your personal API Keys.

        3. Barzrul Avatar

          Hey, I just repeat the steps and there were no issue. All the API Keys stay there after I close and re-open Kodi.

          Note: I did on my Windows PC.

          Update: I made some changes on the steps. Check my updated post above.

        4. sanguine Avatar
          sanguine

          If I understand your kind replies, you are using Kodi on a PC. I wonder if there is an issue because I am using Kodi installed on an Amazon Fire TV android box connected directly to my LAN, and the Amazon box operates differently from a PC.

          I do not know how to use the Amazon box like a PC to access and browse the internet, nor to attach input devices like a mouse or keyboard so I can “copy” or “paste”, etc.
          If that can be done with the Amazon box, I would be indebted to you if you could point me to a tutorial where I could learn.

        5. Barzrul Avatar

          Have you try on Kodi on your Windows PC?

        6. sanguine Avatar
          sanguine

          No, I have not loaded Kodi on my PC. I have a BlackBox account, but I have downloaded all update and new builds using the Amazon Fire box. If I were to download and install Kodi on my PC, would installation of the YouTube APIs on that PC installation also be effective for the different Kodi program installed on the Amazon Fire device? I had believed that YouTube would interpret the 2 Kodi applications on 2 different devices as 2 different users. Am I wrong?
          We only use the Amazon Fire Kodi to watch things because it is connected to our big screen TV in another part of the house away from the PC. So it is the Amazon Fire device on which I need to get the YouTube issue resolved.
          I will try to install the 3 API codes in the Amazon Fire Kodi YouTube app again this evening and will (1) not “sign in” or “sign-out” to the YouTube app, but rather (2) only exit Kodi after hitting “OK” on the YouTube Settings screen using the “power” button I think I see in the lower corner of the Kodi Paradox build screen. (I hope that is what you have been referring to. I have always exited Kodi using the Force Stop.

          If I have misunderstood your instructions please let me know.
          I am very grateful for your help! I will let you know if it works.

        7. Barzrul Avatar

          How’s thing going on?

        8. sanguine Avatar
          sanguine

          I tried to reply but apparently it never made it to your post.
          Everything is now working GREAT! You are correct that the Kodi sign-out must be made from the “power” button on the Kodi screen—that definitely preserves the API keys. You are also correct that successfully installing the keys on one Amazon Fire Kodi automatically works on the second Amazon Fire Kodi which connects thru the same router-modem. Thank you for all your help. It is very much appreciated.

        9. Barzrul Avatar

          You are welcome buddy. Great to know and thank you for the feedback.

Leave a Reply to Barzrul Cancel reply

Your email address will not be published. Required fields are marked *

Barzrul Tech uses cookies to ensure you get the best experience while browsing the site.Read more >>
+