Firebase error: Blocked all requests from this device due to unusual activity
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.
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, 2021Comments
-
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 over 7 yearsI also went into chrome dev tools > application > and cleared all storage stuff.
-
Aldracor almost 6 yearsdoes 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 almost 6 yearshey mate. you can reach out to the Firebase Support regarding this question.
-
Joel Stevick over 2 yearsFor anyone using the email/password provider, the whitelist (safe list) option is not available. It seems to be available for Google Auth provider, only.