Search code examples
firebasegoogle-cloud-platformfirebase-authentication

QUOTA_EXCEEDED : Exceeded daily quota for email sign-in in spite of using my SMTP settings


I've built my API to Send a Firebase email sign-in link to the user with the sendEmailSignInLink function, with requestType: "EMAIL_SIGNIN". I went to Template in the Authentication section of my Firebase console to add my own SMTP server instead of the built-in email service, to actually bypass any quota. Yet I did get the warning. My SMTP server does not have such limitation so how do i figure out where this limit comes from? This is all I get in the Chrome dev tool:

{
    "success": false,
    "error": "QUOTA_EXCEEDED : Exceeded daily quota for email sign-in."
}

Yeah I'm using gmail under the hood but I've sent like a dozen of test email sign-up tests, not 100s!


Solution

  • This has nothing to do with your choice of SMTP server. The documented limit for number of Firebase Auth email link sign-in emails is 5/day for projects on the spark plan. You will need to upgrade to a paid plan to get an increased limit of 25,000/day.