skip to Main Content

I’m experiencing an issue with Firebase where SMS verification codes are not sent to some valid phone numbers. These numbers are able to receive SMS from other providers without any issues. The problem has been observed over multiple attempts on different days. Here are the details:

{
  "insertId": "-k92yxdd8v6y",
  "jsonPayload": {
    "@type": "type.googleapis.com/google.cloud.identitytoolkit.logging.RequestLog",
    "methodName": "google.cloud.identitytoolkit.v1.AuthenticationService.SendVerificationCode",
    "status": {
      "message": "Error code: 39",
      "code": 13
    },
    "request": {
      "@type": "type.googleapis.com/google.cloud.identitytoolkit.v1.SendVerificationCodeRequest",
      "phoneNumber": "+400730679600"
    },
    "requestMetadata": {
      "callerIp": "86.124.126.97",
      "callerSuppliedUserAgent": "FirebaseAuth.iOS/10.22.0 ro.afooddeployments.afood/3.4.0 iPhone/17.4.1 hw/iPhone14_5,gzip(gfe),gzip(gfe)"
    },
    "serviceName": "identitytoolkit.googleapis.com"
  },
  "resource": {
    "type": "identitytoolkit_project",
    "labels": {
      "project_id": "ambrosia-e5ea3"
    }
  },
  "timestamp": "2024-06-17T08:49:19.981Z",
  "severity": "ERROR",
  "logName": "projects/ambrosia-e5ea3/logs/identitytoolkit.googleapis.com%2Frequests",
  "receiveTimestamp": "2024-06-17T08:49:20.859697728Z"
}

Steps to Reproduce:

  1. Attempt to send an SMS verification code to the phone number
    +400730679600 using Firebase Authentication.
  2. Observe that the request fails with error code 39 intermittently.

What I’ve Tried:

  1. Confirmed that the phone numbers are valid and can receive SMS from
    other providers.
  2. Attempted multiple times on different days to rule out temporary
    issues.
  3. Reviewed Firebase documentation and error codes but found no
    specific details for error code 39.

Has anyone experienced similar issues with Firebase SMS verification? Any insights or suggestions would be greatly appreciated. Thank you!

note that +400730679600 is my own test number

2

Answers


  1. We are facing the same issue, and the one key thing we noticed is that SMS is not working with only one phone number provider: Beeline. And other phone numbers from other providers are working perfectly. And also the error 39 seems like exceeding some quota per day/month, but we don’t see any quota exceeded things. Let me know if you found solution!

    Login or Signup to reply.
  2. We have the same issue, and have this error with Megafon only. Beeline work for us. Nobody talk with support for this problem?

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search