Back

push message showing error

  • 0
  • Self Hosted
S3ppo
30 May, 2024, 18:03

i tried to send my first test message to my target or also to my topic.. but in both cases i get this error message:

TypeScript
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

did i miss something?

TL;DR
Developers are experiencing an error when trying to send a test message to a target or topic. The error message indicates an issue with the encoding key. The problem seems to be related to a missing or incorrect string key input. Check the code in FCM.php on line 61 to ensure the correct key is being provided for encoding.
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