-
Notifications
You must be signed in to change notification settings - Fork 268
Open
Labels
Description
We got 429 HTTP status from FCM server.
HTTP response body:
{
"error": {
"code": 429,
"message": "Quota exceeded for quota metric 'Send requests' and limit 'Send requests per minute' of service 'fcm.googleapis.com' for consumer 'project_number:xxx'.",
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "RATE_LIMIT_EXCEEDED",
"domain": "googleapis.com",
"metadata": {
"quota_limit_value": "xxx",
"consumer": "projects/xxx",
"quota_metric": "fcm.googleapis.com/send_requests",
"quota_unit": "1/min/{project}",
"service": "fcm.googleapis.com",
"quota_location": "global",
"quota_limit": "SendsPerMinutePerProject"
}
},
{
"@type": "type.googleapis.com/google.rpc.Help",
"links": [
{
"description": "Request a higher quota limit.",
"url": "https://cloud.google.com/docs/quotas/help/request_increase"
}
]
}
]
}
}
When the FCM Rate limit was exceeded, the above HTTP Response was returned, but when passed to IsQuotaExceeded, false was returned.