FIS_AUTH_ERROR

4,874 views
Skip to first unread message

Bernhard Hammer

unread,
Jul 6, 2021, 11:44:59 AM7/6/21
to Firebase Google Group
I am using Android and I only have problems with my Release-Version when I am trying to get the Token with FirebaseMessaging.getInstance().getToken(). I am getting an FIS_AUTH_ERROR. I already updated my google-services.json and added it to my App-Folder. The API-Key I am using isn't having any restrictions. To my top-level build-gradle I have also added classpath 'com.google.gms:google-services:4.3.8' and added google() to both repositories.
In my individual module build gradle I added the following dependencies:
implementation platform('com.google.firebase:firebase-bom:28.1.0')
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-messaging'
Futhermore I also applied the plugin.

Does anyone has any ideas on how I can solve this problem as all the solutions on Stackoverflow didn't worked for me.

radwa ali

unread,
Jul 6, 2021, 12:46:23 PM7/6/21
to Firebase Google Group
Hey there you need to migrate to firebase installation 
 I still get this issue in debug mode though 

Bernhard Hammer

unread,
Jul 6, 2021, 3:40:17 PM7/6/21
to Firebase Google Group
Thanks for your advice it is working now

radwa ali

unread,
Jul 7, 2021, 5:09:25 AM7/7/21
to Firebase Google Group
you welcome 
I solved it in debug too it  turned out my SHA1 for debug changed and I needed to add it to firebase console.

안승현

unread,
Jul 9, 2021, 5:30:35 AM7/9/21
to Firebase Google Group

How Did you solve it?. 
I have the same problem 
""I am using Android and I only have problems with my Release-Version when I am trying to get the Token with FirebaseMessaging.getInstance().getToken(). I am getting an FIS_AUTH_ERROR. I already updated my google-services.json and added it to my App-Folder. The API-Key I am using isn't having any restrictions. To my top-level build-gradle I have also added classpath 'com.google.gms:google-services:4.3.8' and added google() to both repositories.
In my individual module build gradle I added the following dependencies:
implementation platform('com.google.firebase:firebase-bom:28.1.0')
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-messaging'
Futhermore I also applied the plugin."""

I just added "implementation 'com.google.firebase:firebase-installations:17.0.0'
But problem is not solved
How Did you solve it?. 
Thanks
2021년 7월 7일 수요일 오후 6시 9분 25초 UTC+9에 radwa...@gmail.com님이 작성:

Kato Richardson

unread,
Jul 9, 2021, 1:51:09 PM7/9/21
to Firebase Google Group
For reference, there is some guidance on these errors in the GitHub doc here: https://github.com/firebase/firebase-android-sdk/blob/master/firebase-installations/API_KEY_RESTRICTIONS.md


--
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/ed5c9de8-49a8-430c-8328-959141bcb9fcn%40googlegroups.com.


--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

radwa ali

unread,
Jul 12, 2021, 4:59:45 AM7/12/21
to Firebase Google Group
you need to check the documentation get token and get id methods had changed 
Reply all
Reply to author
Forward
0 new messages