Skip to content
Back

Unable to create push providers - FCM or APNS

  • 1
  • Messaging
  • Cloud
scottgrobinson
5 Jul, 2025, 16:05

Currently unable to create a push provider for FCM or APNS....

https://github.com/appwrite/console/issues/2045

When uploading a file... FCM = Valid file returns "Unexpected end of JSON input" APNS = Doesn't allow upload of .p8 file format.

I'm aware there's a github issue - Just trying to raise here too as it's kind of a major problem not being to create a push provider if you're trying to use push notifications you've paid for 🙃

TL;DR
Developers are facing issues creating push providers (FCM or APNS). The problem might not have been resolved yet. One developer uploaded an altered file name and it worked. Another encountered an error with JSON for FCM. It seems only JSON files are accepted for upload, not p12. There's confusion and some inconsistency on file types and upload errors. It's suggested to follow guidelines closely and ensure the correct file format is used for each service.
Steven
6 Jul, 2025, 22:00

For FCM, you're uploading a p12 file? Not a JSON file?

scottgrobinson
7 Jul, 2025, 07:17

For FCM I'm uploading a JSON file as that's all it's allowing me to upload. I'm not able to upload a p12 as it's rejected due to only JSON files being allowed on the form

Steven
7 Jul, 2025, 13:35

Why would you upload a p12 file? What is the p12 file?

scottgrobinson
7 Jul, 2025, 13:46

The p12 is irrelevant here as it's not working for JSON either. It's another format that service account keys are provided in via Google.

Steven
7 Jul, 2025, 13:48

I see. I suppose since JSON is the recommended type, we only accept JSON which is why you can't upload a p12

scottgrobinson
7 Jul, 2025, 13:48

Yes - That makes sense.

Unfortunatly for Firebase I get the error "Unexpected end of JSON input"

Steven
7 Jul, 2025, 13:49

When uploading your JSON?

scottgrobinson
7 Jul, 2025, 13:51

Hold on. Did you wave your magic wand? Either that or someone was watching me. I went to upload the same file I've been using consistently so I could get you a screenshot and now it works. Very odd. Nevermind 🙂

So we can ignore FCM and it's just the APNS issue not allowing .p8

Steven
7 Jul, 2025, 13:51

😅 kk I'll escalate the APNS issue today to see if anyone can work on it

scottgrobinson
7 Jul, 2025, 13:52

Really appreciate that. Thank you

Abid G
7 Jul, 2025, 17:46

Hi, I've uploaded my JSON for FCM and I'm having the same error...

Abid G
7 Jul, 2025, 17:48

I changed the name and uploaded it and it worked lol

scottgrobinson
8 Jul, 2025, 14:56

@Steven Thanks for getting that pushed through

scottgrobinson
8 Jul, 2025, 21:00

@Steven I'm. a little confused - Is that released now? The PR is closed but the issue still persists

Steven
8 Jul, 2025, 21:01

It may not have been released yet

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more