Search code examples
firebase-admin

No enum constant com.google.firebase.ErrorCode.UNIMPLEMENTED


[firebase-admin-7.0.0] No enum constant com.google.firebase.ErrorCode.UNIMPLEMENTED

The above error suddenly appeared. I checked the source code and found that there was no UNIMPLEMENTED object in ErrorCode. Does anyone know why?

I changed to version 9.2.0 but it still doesn't work. What else could be the problem?


Solution

  • I faced the same issue and changed

    BatchResponse response = firebaseMessaging.sendMulticast(message);
    

    to

    BatchResponse response = firebaseMessaging.sendEachForMulticast(message);
    

    also updated to version 9.3.0 and its working fine for me.