Sending FCM notification with Fids Return NotRegistered

Open
#534 5 comments 1 reaction 1 assignee View on GitHub

Maintainers usually reply within 1 day

@yvonnep165 is already working on this.

Since Aug 17, 2026.

Assessment

This issue has not been assessed yet.

Description

Environment
  • FirebaseAdmin: 3.6.0
  • .NET: (your version)
  • Platform: iOS
  • FCM HTTP v1 (through Firebase Admin SDK)
Description

I'm trying to migrate from registration tokens to FIDs as recommended by the SDK.

When sending a notification to an Apple device using the Fid property of Message, the Admin SDK always returns a FirebaseMessagingException with the error NotRegistered.

However, using the exact same FID from the Firebase Console ("Send test message"), the notification is delivered successfully to the device.

This suggests either:

  • the .NET Admin SDK is not sending the request correctly when using Message.Fid, or
  • there is a backend/API discrepancy between the Admin SDK and the Firebase Console.
Code
var message = new Message
{
    Fid = fid,
    Notification = new Notification
    {
        Title = "Test",
        Body = "Hello"
    }
};

await FirebaseMessaging.DefaultInstance.SendAsync(message);
Dominant language
C#
Stars
407
Forks
149
Avg merge
2d 10h
Merged PRs (30d)
14

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firebase/firebase-admin-dotnet

All issues in firebase/firebase-admin-dotnet

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.