You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 Bug Report: Push notification stuck on processing #8601
Put a string in the badge type of a messaging.createPush, like so:
awaitmessaging.createPush(ID.unique(),`New follower!`,`${userData.displayName||"Someone"} is now following you!`,[],[body.followerId],[],{type: "newFollower",userId: body.userId,},undefined,undefined,undefined,"../sounds/11L-soft_alert-41374194.mp3",undefined,"testTag","testBadge",<--Thisisthebadge);
If you add the badge part with the string, the push notification stays on "processing":
👍 Expected behavior
Should properly send the push notification
👎 Actual Behavior
Stays on processing and doesn't send the notification
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Linux
🧱 Your Environment
Node-appwrite version 13 (for 1.5)
👀 Have you spent some time to check if this issue has been raised before?
Hi team, this issue appears to be resolved by PR #9060#9060 (badge typing & parameter validation) and PR #13091#13091 (handling queue job failures to prevent messages getting stranded in processing). Could this issue be closed?
Activity
DH-555 commentedon Oct 24, 2024
Hello! Is this happening in Appwrite cloud? Or self-hosting?
What push notification provider are you using?
Also, what platform?
docimin commentedon Oct 24, 2024
I have only tested this in Cloud, but it seems like a general Appwrite issue probably?
I am using FCM for Push Notifications
Unsure what you mean, but I did the following:
Removing the badge attribute, as said in the issue, fixed it and successfully sent it through.
DH-555 commentedon Oct 24, 2024
As we talked through Discord, the error seems to appear when specifying the Badge field that is exclusive for APN push notifications in FCM.
It should show failed and the reason (badge not supported for the provider) instead of being stuck in pending.
karan-963 commentedon Aug 19, 2026
Hi team, this issue appears to be resolved by PR #9060 #9060 (badge typing & parameter validation) and PR #13091 #13091 (handling queue job failures to prevent messages getting stranded in processing). Could this issue be closed?