17

I am getting the error below when testing Firebase authentication

We have blocked all requests from this device due to unusual activity. Try again later.

How do I fix this without deleting any data? There has to be a way to enable development/testing this stuff.

AL.
  • 36,815
  • 10
  • 142
  • 281
Emad
  • 4,110
  • 5
  • 30
  • 35

2 Answers2

6

You're seeing this error because of sending too many auth requests from or using one IP address for a given period of time. Firebase auth requests are limited for security purposes.

In order to avoid this error in the future, I'd suggest you to throttle or put delays on your authentication requests.

The penalty or blockage will be lifted eventually, or contact Firebase Support if not.

Hope this helps.

looptheloop88
  • 3,026
  • 17
  • 20
  • 1
    does this count for getting tokens for FCM? Do you maybe have a link to explain the specifics of the limitations of the auth requests? eg. exactly how many requests /min? Is it maybe per device and not IP? – Aldracor May 11 '18 at 08:23
  • hey mate. you can reach out to the [Firebase Support](https://firebase.google.com/support/) regarding this question. – looptheloop88 May 14 '18 at 13:35
4

I went into firebase > Authentication > sign-in method > google and added my client id to the whitelist.

Emad
  • 4,110
  • 5
  • 30
  • 35
  • I also went into chrome dev tools > application > and cleared all storage stuff. – Emad Sep 02 '16 at 12:02
  • 2
    For anyone using the email/password provider, the whitelist (safe list) option is not available. It seems to be available for Google Auth provider, only. – Joel Stevick Dec 15 '21 at 12:47