Firebase Phone Auth Error : OPERATION_NOT_ALLOWED for some regions

985 views
Skip to first unread message

Stas Shapoval

unread,
Oct 14, 2023, 5:57:21 PM10/14/23
to Firebase Google Group
Hello!
I've been using Firebase Phone Auth for several years and my user base is mostly from Ukraine and other European countries, the feature was working until a couple of days ago when it suddenly stopped working for Ukraine. Although it still works for Croatia, for example.
I get this error only for Ukrainian numbers
{
  "error": {
    "code": 400,
    "message": "OPERATION_NOT_ALLOWED",
    "errors": [
      {
        "message": "OPERATION_NOT_ALLOWED",
        "domain": "global",
        "reason": "invalid"
      }
    ]
  }}
Screenshot 2023-10-14 at 22.46.52.png

Maksym Ilnitskyi

unread,
Oct 16, 2023, 11:33:33 PM10/16/23
to Firebase Google Group
I have a similar problem with my iOS app, but with another error message:
"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section."
It works correctly for US and German phone numbers, but for Ukrainian numbers it doesn't.
The last successful authentication with a Ukrainian number was on 13 October. 
неділя, 15 жовтня 2023 р. о 00:57:21 UTC+3 Stas Shapoval пише:

Anton Shvets

unread,
Oct 17, 2023, 7:34:21 PM10/17/23
to Firebase Google Group
We also have similar problem.

It works with Swedish and Portuguese phone numbers, but now with Ukrainian.

We get Null or OPERATION_NOT_ALLOWED error codes with The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section message

It worked well until 11th of October.

Анастасия Юрченко

unread,
Oct 18, 2023, 9:55:36 AM10/18/23
to Firebase Google Group

We have the same problem, everything was fine until October 11, but now authentication through Ukrainian numbers does not work. I hope the problem will be solved soon.
среда, 18 октября 2023 г. в 00:34:21 UTC+1, Anton Shvets:

Stas Shapoval

unread,
Oct 18, 2023, 9:56:18 AM10/18/23
to Firebase Google Group
JFYI: open issue https://github.com/firebase/firebase-ios-sdk/issues/11945#issuecomment-1768088101

середа, 18 жовтня 2023 р. о 02:34:21 UTC+3 Anton Shvets пише:
Reply all
Reply to author
Forward
0 new messages