YouTube API 429 error while not using full quota - youtube-api

Still a couple of weeks; we are getting more and more 429 HTTP Errors while making API requests to the YouTube API (mainly when trying to add or delete videos in a playlist). The error seems related to "quotas" indicated in the Google API console, but we checked this and are way below the limit according to the Google console report (we already have increased our quota value in the past, so this one should be more than enough).
Any idea why we are getting this error?
Error message:
{
"error": {
"code": 429,
"message": "Resource has been exhausted (e.g. check quota).",
"errors": [
{
"message": "Resource has been exhausted (e.g. check quota).",
"domain": "global",
"reason": "rateLimitExceeded"
}
],
"status": "RESOURCE_EXHAUSTED"
}
}
And our quota for the YouTube API:

Related

Unable to fetch data from YT monetisation metrics api endpoint

When we are are trying to fetch data from youtube monetisation metrics api endpoint for an account, but it is providing us with a** forbidden error**. We have also checked for monetaryanalytics scope for that account and it is available in account-props.
We have been receiving a forbidden error without any other error message to act further upon it
Adding the API response here:
{
"error": {
"code": 403,
"message": "Forbidden",
"errors": [
{
"message": "Forbidden",
"domain": "global",
"reason": "forbidden"
}
]
}
}
Can anyone please help on this, any help will be appreciated

Google Cloud Translation API got error "403 User Rate Limit Exceeded"

I'm using Google Cloud Translation Service for my bussiness
When I use URL "https://translation.googleapis.com/language/translate/v2" to translate my text. The result is :
{
"error": {
"code": 403,
"message": "User Rate Limit Exceeded",
"errors": [
{
"message": "User Rate Limit Exceeded",
"domain": "usageLimits",
"reason": "userRateLimitExceeded"
}
]
}
}
I already used payment version, and config all in Google Cloud Console but useless.
Who can help me...
POSTMAN

YouTube Data API v3 queries per day quota went to 0

Today our YouTube Data API v3 daily quota went from 37 millions to 0 for no apparent reason. So now we get 403 error when trying to access YouTube API:
{
"error": {
"code": 403,
"message": "The request cannot be completed because you have exceeded your \u003ca href=\"/youtube/v3/getting-started#quota\"\u003equota\u003c/a\u003e.",
"errors": [
{
"message": "The request cannot be completed because you have exceeded your \u003ca href=\"/youtube/v3/getting-started#quota\"\u003equota\u003c/a\u003e.",
"domain": "youtube.quota",
"reason": "quotaExceeded"
}
]
}
}
In the GCP Queries per day limit appears no be non-editable.
We have checked emails related to the API client but there seems to be no warnings or notifications about anything related to the issue.
Any idea on why this could happen?

Google My Business API fails

Getting a strange error message and there is literally nothing on it anywhere I look. Granted access to Google My Business API, followed directions here;
https://developers.google.com/my-business/content/get-started
All went well, but the expected 200 response was actually the below;
{
"error": {
"status": "PERMISSION_DENIED",
"message": "The request was blocked. Quota configuration not found for the requesting project.",
"code": 403,
"details": [
{
"violations": [
{
"description": "The request was blocked. Quota configuration not found for the requesting project.",
"subject": "project:XXXXXXXXXX"
}
],
"#type": "type.googleapis.com/google.rpc.QuotaFailure"
}
]
}
}
Anyone have any idea how to add quotas in Google Developer console, or, alternately, if this message is a result of expired permissions perhaps? (Granted access in Feb, did not use until now?)
This is what you get when the project in question does not have Google My Business API access, as granted through their official process etc. When I used the correct project I got a 200 and all is well.
So sayeth the GMB folks themselves, who answered my email same day!

Searching for HD videos using the YouTube API v3?

I am getting invalid combination of search filter error while retrieving the HD videos. this was the url - https://www.googleapis.com/youtube/v3/search?part=snippet&q=drama&videoDefinition=high&key={Developerkey}
Error report
{
"error": {
"errors": [
{
"domain": "youtube.search",
"reason": "invalidSearchFilter",
"message": "Invalid combination of search filters and/or restrictions.",
"locationType": "parameter",
"location": ""
}
],
"code": 400,
"message": "Invalid combination of search filters and/or restrictions."
}
}
Is it possible to retrieve HD videos? Please guide me. How can I get a response from this URL? Thanks
You also need to include the type=video query parameter, since filtering on high definition only makes sense when the results are limited to videos.
That being said, the error message that's returned isn't actually helpful, and I'll ask the engineering team to revise it so that it clarifies what's wrong.

Resources