Quota exceeded message for Google Programmable Search
Follow on from this closed issue.
Point of contact: @sarahgerman
SRE Support Needed @afappiano
Copied from earlier issue:
Hello and apologies for resurrecting an old issue, but I've been working on the Google search implementation for the docs site and have a couple of questions about our API usage before we roll out our new search:
- Can @susantacker and I have access to the billing area of the GCP project to monitor our costs, and/or could we get a quota alert set up to ping us if our search API costs exceed $500/month? The goal here is just to alert us if we're at risk of exceeding our $6k/year budget.
- Today while doing development work I started hitting a "quota exceeded" error after reaching 100 API requests for the day. The "Site Restricted JSON API" we're using should not have a daily limit if we have billing associated with the search appliance (docs). Is this a billing issue? Is there another quota set somewhere on our end in the GCP project?
Here's a copy/paste of the error response:
429/Quota exceeded
{
"error": {
"code": 429,
"message": "Quota exceeded for quota metric 'Site Restricted Queries' and limit 'Site Restricted Queries per day' of service 'customsearch.googleapis.com' for consumer 'project_number:612912935847'.",
"errors": [
{
"message": "Quota exceeded for quota metric 'Site Restricted Queries' and limit 'Site Restricted Queries per day' of service 'customsearch.googleapis.com' for consumer 'project_number:612912935847'.",
"domain": "global",
"reason": "rateLimitExceeded"
}
],
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "RATE_LIMIT_EXCEEDED",
"domain": "googleapis.com",
"metadata": {
"consumer": "projects/612912935847",
"service": "customsearch.googleapis.com",
"quota_location": "global",
"quota_metric": "customsearch.googleapis.com/unlimitedbucket",
"quota_limit": "UnlimitedbucketPerDayPerProject",
"quota_limit_value": "100"
}
},
{
"@type": "type.googleapis.com/google.rpc.Help",
"links": [
{
"description": "Request a higher quota limit.",
"url": "https://cloud.google.com/docs/quota#requesting_higher_quota"
}
]
}
]
}
}
Thank you! Please let me know if there's a better way to request help with this, or if there's any other details you'd need from me or Susan.