firebase / flutterfire

🔥 A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.46k stars 3.91k forks source link

[firebase auth]: Flutter, ReactNative apps hit Error code 39 (QuotaExceeded) message is too vague, shows on blaze plan #12637

Closed nyenloop closed 1 month ago

nyenloop commented 1 month ago

Is there an existing issue for this?

Which plugins are affected?

Auth

Which platforms are affected?

Android, iOS, Web

Description

Hi! I got an internal error, code 39 when using calling the verifyphone method of phone sign in. Can you give me any specifics, what causes this error? Is there a list? Thanks a lot in advance!

Reproducing the issue

I faced this error when I tried to logged in by using phoneNumber. This functions have worked normally for 2 years. I tested with many phoneNumbers that I have.

Error: {"error":{"code":503,"message":"Error code: 39","errors":[{"message":"Error code: 39","domain":"global","reason":"backendError"}]}}

Firebase Core version

2.27.0

Flutter Version

3.19.0

Relevant Log Output

No response

Flutter dependencies

Expand Flutter dependencies snippet
```yaml Replace this line with the contents of your `flutter pub deps -- --style=compact`. ```

Additional context and comments

No response

TarekkMA commented 1 month ago

Hey @nyenloop,

Thank you for reporting this issue. It appears similar to previously reported cases found here on GitHub and here on Google Groups.

The issue seems to stem from excessive sign-ins and, based on the title of your issue, it also occurs on React Native. This suggests that the root cause is likely from the native SDK, not the Flutter one.

Could you try waiting a bit, using another phone number, and then see if the issue persists?

russellwheatley commented 1 month ago

The exception is QuotaExceeded, this means you have hit the limit for the IP address. You might be able to whitelist your phone number which you can do in the Firebase console. Although, you will still have to wait until the temporary restriction is lifted by the Firebase server. (i.e. whitelist your phone number and wait a day for the ban to be lifted). This isn't something to be fixed on FlutterFire so I am closing it out.