# Push registration failed on new Android 15

**URL:** <https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543>\
**Category:** Support\
**Tags:** done\
**Created:** [June 15, 2025, 3:24pm UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543 "2025-06-15T15:24:31Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![HB9TNZ](https://forum.hamalert.org/letter_avatar_proxy/v4/letter/h/2bfe46/32.png) [@HB9TNZ](https://forum.hamalert.org/u/HB9TNZ)\
**Post date:** [June 15, 2025, 3:24pm UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543/1 "2025-06-15T15:24:31Z")

</div>

Hi there,

i switched now to a flip 6 with android 15. before i used hamalert without any issues. Great thing! Now when starting up, i do get

“Push registration failed - Make sure that this app has permission to use push notifications. Error: java.util.concurrent.ExecutionExce???java.IOException: Invalid argument for the given fid.”

So i reinstalled the app without success  
I checked permissions, all granted.

I saw an article regarding whitelisting, but i did not get the point what to do.

Anybody had the same issue and fixed it?

73 HB9TNZ

---

<div class="post-metadata">

**Author:** ![KK4KFG](https://forum.hamalert.org/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@KK4KFG](https://forum.hamalert.org/u/KK4KFG)\
**Post date:** [June 15, 2025, 5:00pm UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543/2 "2025-06-15T17:00:32Z")

</div>

Seeing similar behavior. Have been unable to resolve so far

---

<div class="post-metadata">

**Author:** ![HB9DQM](https://forum.hamalert.org/user_avatar/forum.hamalert.org/hb9dqm/32/5_2.png) [@HB9DQM](https://forum.hamalert.org/u/HB9DQM)\
**Post date:** [June 15, 2025, 5:12pm UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543/3 "2025-06-15T17:12:06Z")

</div>

Hmm, I’m not sure what to suggest. Push notifications work fine for me in Android Emulator with an Android 15 image. Searching the net for the mentioned error turns up two issues filed in the Firebase Android project by other people experiencing the same issue, but no solution so far. Although given that it magically resolved itself for one developer experiencing it in April with many users, without them having done anything, there is hope that it’s just some temporary fluke on Google’s server side that will hopefully resolve itself soon…

> <https://github.com/firebase/firebase-android-sdk/issues/6914>
>
> \### Environment
> 
> \* Android Studio version: 2024.3.1 Patch 2 Meerkat
> \* Fireba…se Component: Firebase BOM 33.13.0
> \* Component version: com.google.firebase:firebase-messaging 24.1.1
> 
> \### The problem
> 
> We are seeing a large increase in the following error:
> IOException: Invalid argument for the given fid. (stack trace below)
> 
> This started happening at around April 15 with no changes to the client side code. Here is a screenshot from Crashlytics:
> 
> \<img width="307" alt="Image" src="https://github.com/user-attachments/assets/12831502-c0b6-4e98-947e-dd261738b46e" /\>
> 
> It only reproduces on a small % of devices and I cannot reproduce locally. The users that have hit this issue say that it doesn't occur on all their devices. On the devices where the issue occurs, re-installing the app does not fix the issue.
> 
> 
> \### Relevant code
> \`\`\`
> FirebaseMessaging.getInstance().token
> \`\`\`
> 
> 
> Stack Trace:
> 
> \`\`\`
> Non-fatal Exception: java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: Invalid argument for the given fid.
> at com.google.firebase.messaging.FirebaseMessaging.blockingGetToken(FirebaseMessaging.java:665)
> at com.google.firebase.messaging.FirebaseMessaging.lambda$getToken$7(FirebaseMessaging.java:420)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:487)
> at java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
> at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.5.0:2)
> at java.lang.Thread.run(Thread.java:1012)
> \`\`\`
> 
> \`\`\`
> Caused by java.util.concurrent.ExecutionException: java.io.IOException: Invalid argument for the given fid.
> at com.google.android.gms.tasks.Tasks.zza(com.google.android.gms:play-services-tasks@@18.1.0:5)
> at com.google.android.gms.tasks.Tasks.await(com.google.android.gms:play-services-tasks@@18.1.0:9)
> at com.google.firebase.messaging.FirebaseMessaging.blockingGetToken(FirebaseMessaging.java:663)
> at com.google.firebase.messaging.FirebaseMessaging.lambda$getToken$7(FirebaseMessaging.java:420)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:487)
> at java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
> at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.5.0:2)
> at java.lang.Thread.run(Thread.java:1012)
> \`\`\`
>         
> \`\`\`
> Caused by java.io.IOException: Invalid argument for the given fid.
> at com.google.firebase.messaging.GmsRpc.handleResponse(GmsRpc.java:309)
> at com.google.firebase.messaging.GmsRpc.lambda$extractResponseWhenComplete$0(GmsRpc.java:320)
> at com.google.android.gms.tasks.zzc.run(com.google.android.gms:play-services-tasks@@18.1.0:3)
> at com.google.android.gms.tasks.zzd.zzd(com.google.android.gms:play-services-tasks@@18.1.0:1)
> at com.google.android.gms.tasks.zzr.zzb(com.google.android.gms:play-services-tasks@@18.1.0:5)
> at com.google.android.gms.tasks.zzw.zzb(com.google.android.gms:play-services-tasks@@18.1.0:3)
> at com.google.android.gms.tasks.zzc.run(com.google.android.gms:play-services-tasks@@18.1.0:8)
> at com.google.android.gms.cloudmessaging.zzy.execute(com.google.android.gms:play-services-cloud-messaging@@17.1.0:1)
> at com.google.android.gms.tasks.zzd.zzd(com.google.android.gms:play-services-tasks@@18.1.0:1)
> at com.google.android.gms.tasks.zzr.zzb(com.google.android.gms:play-services-tasks@@18.1.0:5)
> at com.google.android.gms.tasks.zzw.zzb(com.google.android.gms:play-services-tasks@@18.1.0:3)
> at com.google.android.gms.tasks.TaskCompletionSource.setResult(com.google.android.gms:play-services-tasks@@18.1.0:1)
> at com.google.android.gms.cloudmessaging.zzr.zzd(com.google.android.gms:play-services-cloud-messaging@@17.1.0:3)
> at com.google.android.gms.cloudmessaging.zzt.zza(com.google.android.gms:play-services-cloud-messaging@@17.1.0:2)
> at com.google.android.gms.cloudmessaging.zzk.handleMessage(com.google.android.gms:play-services-cloud-messaging@@17.1.0:14)
> at android.os.Handler.dispatchMessage(Handler.java:102)
> at android.os.Looper.loopOnce(Looper.java:226)
> at android.os.Looper.loop(Looper.java:313)
> at android.app.ActivityThread.main(ActivityThread.java:8751)
> at java.lang.reflect.Method.invoke(Method.java)
> at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
> \`\`\`

> <https://github.com/firebase/firebase-android-sdk/issues/7025>
>
> \* Firebase Component: firebase-messaging
> \* Component version: 24.0.1
> 
> \### Desc…ribe the problem
> 
> \#### Steps to reproduce:
> 
> For some users, attempting to get the token returns this error:
> 
> \`Fetching the token failed: java.util.concurrent.ExecutionException: java.io.IOException: Invalid argument for the given fid.\`
> 
> Here's a related issue that shows a full stack trace: https://github.com/firebase/firebase-android-sdk/issues/6914
> 
> \#### Relevant Code:
> 
> \`\`\`kt
> FirebaseMessaging.getInstance().token
> .addOnCompleteListener { task -\>
> if (!task.isSuccessful) {
> val exception = task.exception
> promise.reject(REGISTRATION\_FAIL\_CODE, "Fetching the token failed: ${exception?.message ?: "unknown"}", exception)
> return@addOnCompleteListener
> }
> // ...
> }
> \`\`\`
> 
> Note: I am using this through a library called expo-notifications, so you can see all the code here: https://github.com/expo/expo/blob/c46aeff68ecf6747d792b530482f2c88111cff39/packages/expo-notifications/android/src/main/java/expo/modules/notifications/tokens/PushTokenModule.kt#L51

---

<div class="post-metadata">

**Author:** ![HB9TNZ](https://forum.hamalert.org/letter_avatar_proxy/v4/letter/h/2bfe46/32.png) [@HB9TNZ](https://forum.hamalert.org/u/HB9TNZ)\
**Post date:** [June 16, 2025, 7:42am UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543/4 "2025-06-16T07:42:40Z")

</div>

thx for the quick response. I

. uninstalled + installed again  
. logout + login with user  
. removed + added all triggers  
. removed credentials for messages (then no error of course, but not working as well)  
. added credentials for messages (again error)  
. tried all combinations of credentials with messages (Type of screen and Type of messages)

So this looks like not working on my Android 15 on a Galaxy Flip 6.

---

<div class="post-metadata">

**Author:** ![K7KER](https://forum.hamalert.org/letter_avatar_proxy/v4/letter/k/0ea827/32.png) [@K7KER](https://forum.hamalert.org/u/K7KER)\
**Post date:** [June 16, 2025, 7:54am UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543/5 "2025-06-16T07:54:36Z")

</div>

Exact same issue here with Android 15 on a Google Pixel 9. I’ll search some more and come back here to see if anyone has had success.

---

<div class="post-metadata">

**Author:** ![HB9DQM](https://forum.hamalert.org/user_avatar/forum.hamalert.org/hb9dqm/32/5_2.png) [@HB9DQM](https://forum.hamalert.org/u/HB9DQM)\
**Post date:** [June 16, 2025, 7:59am UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543/6 "2025-06-16T07:59:10Z")

</div>

So far it sounds like it’s related to Android 15. @KK4KFG What phone model and Android version are you using?

In the meantime, all I can suggest as a temporary measure for affected users is to use Threema for receiving HamAlert push notifications on their phones.

---

<div class="post-metadata">

**Author:** ![HB9TNZ](https://forum.hamalert.org/letter_avatar_proxy/v4/letter/h/2bfe46/32.png) [@HB9TNZ](https://forum.hamalert.org/u/HB9TNZ)\
**Post date:** [June 16, 2025, 11:31am UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543/7 "2025-06-16T11:31:18Z")

</div>

i am using

. Galaxy Z Flip 6  
. Android Version 15

I do switched to Threema. That works 👌

---

<div class="post-metadata">

**Author:** ![KK4KFG](https://forum.hamalert.org/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@KK4KFG](https://forum.hamalert.org/u/KK4KFG)\
**Post date:** [June 16, 2025, 2:25pm UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543/8 "2025-06-16T14:25:30Z")

</div>

Google Pixel 9a running android 15

---

<div class="post-metadata">

**Author:** ![HB9DQM](https://forum.hamalert.org/user_avatar/forum.hamalert.org/hb9dqm/32/5_2.png) [@HB9DQM](https://forum.hamalert.org/u/HB9DQM)\
**Post date:** [June 18, 2025, 8:04pm UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543/9 "2025-06-18T20:04:13Z")

</div>

There has been some feedback from Google in the GitHub issue mentioned above ([[firebase-messaging] IOException: Invalid argument for the given fid · Issue #7025 · firebase/firebase-android-sdk · GitHub](https://github.com/firebase/firebase-android-sdk/issues/7025#issuecomment-2980433056)). Apparently it is caused by duplicate device IDs, which in turn can be caused by using data migration tools to move app data from one device to another. According to Google, reinstalling the affected app should resolve the issue. Evidently it doesn’t. One other affected developer has speculated that the “Clear storage” feature in the system settings app could help clear all app data (which reinstalling may not do) and resolve the issue.

---

<div class="post-metadata">

**Author:** ![HB9TNZ](https://forum.hamalert.org/letter_avatar_proxy/v4/letter/h/2bfe46/32.png) [@HB9TNZ](https://forum.hamalert.org/u/HB9TNZ)\
**Post date:** [June 18, 2025, 9:11pm UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543/10 "2025-06-18T21:11:12Z")

</div>

Thx for the update. Works for me now. I navigated

. Standard-Apps  
. HamAlert  
. Speicherplatz  
.-\> Daten löschen  
.-\> Cache leeren

and reset Password. Its always easy if you know how 🙂

---

<div class="post-metadata">

**Author:** ![KK4KFG](https://forum.hamalert.org/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@KK4KFG](https://forum.hamalert.org/u/KK4KFG)\
**Post date:** [June 20, 2025, 6:19pm UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543/11 "2025-06-20T18:19:03Z")

</div>

Got the upgrade to Android 16 and still no notifications. Deleted the app, restarted the phone, and installed app again with no success

I did go into settings and deleted the app storage for ham alert.

It is now working for me!

Betting it was the duplicate device ID and clearing storage got it going.

---

<div class="post-metadata">

**Author:** ![NF6R](https://forum.hamalert.org/letter_avatar_proxy/v4/letter/n/94ad74/32.png) [@NF6R](https://forum.hamalert.org/u/NF6R)\
**Post date:** [July 8, 2025, 12:15am UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543/12 "2025-07-08T00:15:10Z")

</div>

Clearing the data and cache, which forced me to log in again, took care of the problem. Thanks for the suggestions!

---

<div class="post-metadata">

**Author:** ![VE3TG](https://forum.hamalert.org/letter_avatar_proxy/v4/letter/v/a9a28c/32.png) [@VE3TG](https://forum.hamalert.org/u/VE3TG)\
**Post date:** [September 14, 2025, 3:17pm UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543/13 "2025-09-14T15:17:27Z")

</div>

Android 15, Galaxy S23.  
Realized spots had stopped.  
Reinstalled, cleared cache. No luck.  
Simulated Spots don’t show up.  
Well, it was great when it was working. 🙂

73, VE3TG

---

<div class="post-metadata">

**Author:** ![VE3TG](https://forum.hamalert.org/letter_avatar_proxy/v4/letter/v/a9a28c/32.png) [@VE3TG](https://forum.hamalert.org/u/VE3TG)\
**Post date:** [September 14, 2025, 3:49pm UTC](https://forum.hamalert.org/t/push-registration-failed-on-new-android-15/1543/14 "2025-09-14T15:49:46Z")

</div>

And just like that it starts working again.  
🤷

73, VE3TG
