Skip to content
Back

Error sending push message from dashboard

  • 0
  • Self Hosted
  • Flutter
  • Messaging
mint1G
23 Apr, 2025, 14:40

I am trying to implement appwrite fully into my app and am switching over from firebase. I registered FCM as a Provider and tried to send a push message via the dashboard but get this error: Failed sending to targets with error: Utopia\Messaging\Helpers\JWT::encode(): Argument #2 ($key) must be of type string, null given, called in /usr/src/code/vendor/utopia-php/messaging/src/Utopia/Messaging/Adapter/Push/FCM.php on line 61 This leads me to belive its a issue in my appwrite instance. What could cause this?

TL;DR
Issue: Error encountered when sending push message from dashboard, possibly related to FCM Provider registration. Solution: The error message indicates a problem with the key being provided in the FCM implementation. Check the key type and ensure it is a string. This issue likely resides within the appwrite instance rather than the app implementation.
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