YouTube quotas exceeded

Nicolas picture Nicolas · Nov 21, 2017 · Viewed 28.7k times · Source

I'm developer and I want to upload a video using the YouTube Data API v3, but it always return the error code "quotas exceeded". I never succeeded upload a video so it's strange...

Do you have a solution for this problem or support address mail to contact in order to solve the problem ?

I send to the API that video with attachment:

curl --request POST \
     --url 'https://www.googleapis.com/upload/youtube/v3/videos?part=snippet%2Cstatus' \
     --header 'authorization: Bearer MyAccessToken' \
     --header 'cache-control: no-cache' \
     --header 'content-type: application/octet-stream'

Here is the error:

{
      "error": {
            "errors": [{
                    "domain": "youtube.quota",
                    "reason": "quotaExceeded",
                    "message": "The request cannot be completed because you have exceeded your <a href=\"/youtube/v3/getting-started#quota\">quota</a>."
            }],
      "code": 403,
      "message": "The request cannot be completed because you have exceeded your <a href=\"/youtube/v3/getting-started#quota\">quota</a>."
     }
}

Answer

Marten Koetsier picture Marten Koetsier · Aug 7, 2020

I had the same issue and found out that the "Queries per day" limit was set to 0. I created a new project, with a new key. The new project got a quotum of 10k per day. Problem solved.