I have no clue what I am doing wrong, the following code works well
FirebaseInstanceId.getInstance().getToken("12", "FCM");
FirebaseInstanceId.getInstance().getToken("11", "FCM");
but another one
FirebaseInstanceId.getInstance().getToken("8", "FCM")
throws an IOException about INVALID_SENDER
All from stack trace
W/System.err: java.io.IOException: INVALID_SENDER
at com.google.firebase.iid.zzo.zza(Unknown Source)
at com.google.firebase.iid.zzo.zza(Unknown Source)
at com.google.firebase.iid.zzr.then(Unknown Source)
at com.google.android.gms.tasks.zzd.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
The code itself runs in Runnable Thread instance