Firebase error: Blocked all requests from this device due to unusual activity

22,130

Solution 1

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.

Solution 2

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

Share:
22,130
Hola
Author by

Hola

.Net Developer, Entrepreneur, passionate technologist and currently writing a book on ASP.NET & TDD Check out my latest product developed on ASP.NET MVC at http://www.yonkly.com

Updated on January 17, 2021

Comments

  • Hola
    Hola over 3 years

    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.

  • Hola
    Hola over 7 years
    I also went into chrome dev tools > application > and cleared all storage stuff.
  • Aldracor
    Aldracor almost 6 years
    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?
  • looptheloop88
    looptheloop88 almost 6 years
    hey mate. you can reach out to the Firebase Support regarding this question.
  • Joel Stevick
    Joel Stevick over 2 years
    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.