We have an automated batch that runs every day to synchronise users between an internal users MYSQL table and google accounts. Since the end of may (2014/05/29), this batch is failing because each request to create or update users results in the following response :
503 Service Unavailable { "code" : 503, "errors" : [ { "domain" : "global", "message" : "Backend Error", "reason" : "backendError" } ], "message" : "Backend Error" }
The only information I could find in the help center about 503 errors is that it comes from a quota being reached. Looking at the graphs available in the API console shows that we are well below the defined quota (150K/day), over the last 28 days period we did not even reach 0.05% of that quota.
Has anyone got an idea why we get that error since the quota doesn't seem to be the issue? Any help would be greatly appreciated.
Cheers,
Etienne Bömcke
Related
I linked the project on the API Access page, granted all permissions (made user an "owner", essentially), and waited 2 full days, but I still can't seem to get past this issue.
Thoughts?
{
"error": {
"code": 403,
"message": "The project ID used to call the Google Play Developer API has not been linked in the Google Play Developer Console.",
"status": "PERMISSION_DENIED"
}
}
I expected to get a 200 response for this endpoint request:
https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts
But keep getting a 403 error.
I am suddenly getting a 403 error when sending requests to YouTube's data-API.
This is the error I am getting in production for all requests:
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. YouTube Data API has not been used in project 944988770273 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=944988770273 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
"extendedHelp": "https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=944988770273"
}
],
"code": 403,
"message": "Access Not Configured. YouTube Data API has not been used in project 944988770273 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=944988770273 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
}
}
I haven't done anything do disable the keys, and the dashboard still says the project and key is enabled?
This seems to be due to YouTube setting my daily limit to 0 for some reason, effectively "banning" the usage on the current project in use.
If this happens error-message happens to anyone, remember to check the quotas for the project.
I filled an issue on Youtube Bug Tracker related to it. The feedback was:
This means that your project’s access to YouTube Data API Service has been disabled.
Please fill out and submit the exceptions form below: https://support.google.com/youtube/contact/yt_api_form?hl=en
No reasons why.
I am trying to implement the YouTube Data API v3 in my Python project. However it seems that I always get a error with usage limits.
Here is the specific error I am seeing:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. YouTube Data API has not been used in project 236433974813 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=236433974813 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
"extendedHelp": "https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=236433974813"
}
],
"code": 403,
"message": "Access Not Configured. YouTube Data API has not been used in project 236433974813 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=236433974813 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
}
}
The console says 0 quota (I cannot post images due to low reputation, but it says this when looking at the quotas.)
I have the free trial activated.
You need to first go to the GCP console and activate the YouTube Data API for your project. You must do this for each API in each project.
https://console.cloud.google.com
We utilize the Content API for Shopping to make updates to our product data. We do this several times a day, and have done so for just over 2 months.
We made several successful calls today, but then started receiving the following:
Google API Error Response:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "servingLimitExceeded",
"message": "Serving Limit Exceeded"
}
],
"code": 403,
"message": "Serving Limit Exceeded"
}
}
That lasted about an hour, then we made successful calls for a bit, then started getting errors again.
Checking the Google API Console -both Quota and Reports, we have 'Unlimited requests/second/user' for the all aspects of this API.
Is there an API issue? If we are exceeded a quota, we do not see what that is.
Hello Google Tasks API team,
Since a couple of days ago we've started getting "403 Forbidden" for many of our users.
Can you please check what is going on? Our API console is clean, #calls are way bellow quotas.
Caused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
{
"code" : 403,
"errors" : [ {
"domain" : "global",
"message" : "Serving Limit Exceeded",
"reason" : "serviceLimit"
} ],
"message" : "Serving Limit Exceeded"
}
at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:145) ~[google-api-client-1.15.0-rc.jar:1.15.0-rc]
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:111) ~[google-api-client-1.15.0-rc.jar:1.15.0-rc]
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:38) ~[google-api-client-1.15.0-rc.jar:1.15.0-rc]
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:312) ~[google-api-client-1.15.0-rc.jar:1.15.0-rc]
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1042) ~[google-http-client-1.15.0-rc.jar:na]
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:410) ~[google-api-client-1.15.0-rc.jar:1.15.0-rc]
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:343) ~[google-api-client-1.15.0-rc.jar:1.15.0-rc]
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:460) ~[google-api-client-1.15.0-rc.jar:1.15.0-rc]
If this API is anything like the Google Directory API, this could mean you are hitting a "per user" rate limit. E.g. the directory API defaults to 15 requests per second per user, then returns this same 403 error. To fix this, change the quota in the Google API console, or make fewer requests per second. See:
API console: https://code.google.com/apis/console/
Documentation about quotas: https://developers.google.com/console/help/#cappingusage