r/Firebase • • 24d ago

Authentication Firebase Auth hitting a 200/day GetOobCode quota on Blaze — verification emails blocked, Admin SDK also affected

Has anyone recently encountered a 200-per-day GetOobCode quota on a Firebase project using the Blaze plan?

We run a production mobile app with nearly 10,000 registered users. We don't recall encountering this daily limit during previous signup activity, so this appears to be a recent issue for us. However, we don't have historical quota values to confirm whether the limit itself changed.

I released an app update, which may have caused a spike in legitimate registrations. Email verification requests then started failing with HTTP 429.

The error response explicitly includes:

Quota exceeded for quota metric 'Get OOB Code'

and limit 'Get OOB Code per day'

quota_metric: identitytoolkit.googleapis.com/get_oob_code

quota_limit: getOobCodePerDayPerProject

quota_limit_value: 200

quota_unit: 1/d/{project}

quota_location: global

reason: RATE_LIMIT_EXCEEDED

We also reproduced the same error using the Firebase Admin SDK's generateEmailVerificationLink(), authenticated with a service account for the same project. Generating a link without sending an email still hits the same 200/day quota.

The public documentation lists 100,000 address verification emails/day and 1,000,000 address verification links/day for Blaze. We understand that quotas scale with user count and that additional abuse protections may apply, but we couldn't find documentation explaining this specific 200/day quota.

https://firebase.google.com/docs/auth/limits

This is affecting real users who cannot complete email verification. We have already contacted Firebase Support and are waiting for a response.

Has anyone experienced this exact quota, especially recently?

Did you find out why it was applied, or get it increased?

Is there any way to inspect or request an adjustment to this specific quota outside of Support?

We're trying to understand the cause rather than assume this is a Firebase bug.

6 Upvotes

12 comments sorted by

1

u/Chemical_Fig_6681 22d ago

Update: Firebase Support replied and explained that a sudden traffic surge can trigger dynamic safety controls that temporarily limit GetOobCode to 200/day, even on Blaze. They also confirmed that Admin SDK link generation uses the same quota.

We’ve now upgraded to Firebase Authentication with Identity Platform and requested a quota increase. We’re waiting for confirmation of the new limit.

Thanks everyone for the suggestions! We’ll continue working with Support from here.

2

u/mohit-deepspace 24d ago

the blaze limits firebase lists are 100,000 verification emails and 1,000,000 verification links a day, so a 200 cap on getOobCodePerDayPerProject looks like something set on your project rather than the plan default, and it's worth sending support that exact quota name

1

u/ImmediateCat975 16d ago

yeah the spike from the app update probably triggered some silent anti-spam cap on the project.

2

u/Confident_Bear_1953 24d ago

The fact that `generateEmailVerificationLink()` hits the same limit is an important clue. This seems separate from the documented email sending quota and may be a project level Identity Toolkit restriction. I’d ask Firebase Support specifically whether the 200/day limit is adjustable and what triggers it

2

u/vibecare_fix 24d ago

That 200/day `getOobCode` cap is per project and it bites hard once signup volume grows. A few things that usually buy time without a rewrite:

  1. Confirm you're not burning the quota twice (client SDK + Cloud Function both sending the same email).
  2. Move verification / password-reset emails to a custom SMTP or a transactional provider (SendGrid, Postmark, etc.) and trigger them from your backend with your own rate limits — Firebase Auth can still create the user; you own the email send.
  3. Short-term: batch / queue signups, or temporarily use phone / magic-link patterns that don't hit the same OOB email path if that fits your product.
  4. Longer term: Identity Platform / multiple projects is a last resort; fix the email path first so one project can scale.

If you paste whether this is email verification, password reset, or both, people can be more specific about which call is eating the 200.

2

u/GAMEYE_OP 24d ago

I feel like this is the per IP limit? I could swear I remember seeing this exact value and it's configurable.

1

u/vendetta5655 24d ago

That limit lives in Google Cloud, not the Firebase console, which is why the docs don't match. Open Cloud Console for the same project, go to IAM & Admin > Quotas, filter on the Identity Toolkit API and look for "Get OOB Code per day". If it's editable you can request an increase right there; if not, open a billing/support case and paste the exact quota_limit name (getOobCodePerDayPerProject) so it lands with the right team instead of first-line support.

While you wait, check the sign-up spike isn't partly bots. A low per-project cap is often what you get after the abuse system flags a burst, so turn on App Check and look at where new accounts are coming from.

Short-term workaround that doesn't touch that quota: send your own verification email from a Cloud Function (signed token in the link, your own email provider), and when the link is hit, call admin.auth().updateUser(uid, { emailVerified: true }). Gate on that claim in your rules the same way.

1

u/Wise_Phone_4112 24d ago

While you wait on support, you can take getOobCode out of the path completely. Send your own verification code or link through whatever transactional email service you already use, and once the user confirms it, call updateUser(uid, { emailVerified: true }) from the Admin SDK on your backend. That's a normal account update rather than an OOB code request, so it shouldn't count against that 200/day limit. Bit of extra work, but it gets real users through signup today.

1

u/[deleted] 24d ago

[removed] — view removed comment

1

u/Chemical_Fig_6681 24d ago

Thanks! We recently released a new feature that we expected would attract more signups, so an increase in legitimate registrations was anticipated. It would be concerning if that triggered an abuse safeguard, though we haven’t confirmed whether that’s what happened.

The API response explicitly reports getOobCodePerDayPerProject = 200, and even Admin SDK link generation hits the same limit. We couldn’t find this specific quota in the Cloud Console.

1

u/asierMugica 19d ago

Since Admin SDK link generation hits it too, this is almost certainly upstream of SMTP and not the documented email-send quota. I’d instrument every verification-link call by UID and request path, especially resend, login, and retry handlers, then give Support the daily counts and timestamps. A release can easily expose a duplicate-call loop that 200 requests makes visible fast.