[auth/internal-error] Error increased

3,655 views
Skip to first unread message

Piyush Mahensaria

unread,
Apr 14, 2023, 5:18:54 PM4/14/23
to Firebase Google Group
Context: I have been using Firebase Auth at scale for over 3 years, and am at following version since over 3 months, and am on the Blaze Plan. I have roughly 6500 users signing up daily (have double checked that i never breach 1000/min limit - my logins are slightly widespread).

P.S: I have not enabled Identity Platform.

This issue has started (increased) significantly since Apr 6

Anyone else facing this or has any context on how to solve this?

Where is the issue affecting you ?
The issue is affecting while authenticating the user. Users are facing issues while generating OTP (client sdk function name: signInWithPhoneNumber) when trying to login through their mobile number. The number of errors while generating OTP have increased ~20X in the past few days.

Error messages increased: 
Majorly: [auth/internal-error] An internal error has occurred, please try again.
Also increased: [auth/too-many-requests] We have blocked all requests from this device due to unusual activity. Try again later.
Also Increased: Firebase: Error (auth/error-code:-39).

Screenshots of the issue:
Screenshot of mixpanel graph showing spike in errors in last 30 days
image.png


The framework name that you are using: React Native

The Firebase product name that you are experiencing the issue: FIrebase Authentication Service

Your Firebase CLI version that you're using :
We are using firebase npm package (link) with version 9.9.3 in our project.
react-native clients used as below:
"@react-native-firebase/app": "16.4.6"
"@react-native-firebase/auth": "16.4.6"

Steps to reproduce this behavior:
This issue is occurring to prod users at scale, we are not able to reproduce it at our code level. It looks like a service degradation issue.

Rachael Fuller

unread,
Apr 20, 2023, 8:40:41 PM4/20/23
to Firebase Google Group
We are facing the same issue since April 6th. We are seeing an increase in Firebase: Error (auth/error-code:-39) errors when user generates the OTP using signInWithPhoneNumber. We are using React Native framework, deployed to web. Our project is using firebase npm package 9.8.4. 

Arthur Thompson

unread,
Apr 24, 2023, 6:30:39 PM4/24/23
to fireba...@googlegroups.com
That error indicates that you are hitting the quota limits for OTP. Upgrading to Firebase Auth with Identity Platform is the recommended way to avoid these types of quota errors and prevent abuse. There is a generous free tier so if you were not hitting the quota limits before then most of your requests will be at no cost. See auth limits docs for more.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/6b834826-2beb-429a-8f7d-c0ec23de7ef0n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages