Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

YouTube quotas exceeded

Tags:

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>."      } } 
like image 280
Nicolas Avatar asked Nov 21 '17 08:11

Nicolas


1 Answers

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 quota of 10k per day. Problem solved.

like image 182
Marten Koetsier Avatar answered Sep 21 '22 19:09

Marten Koetsier