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 witherror: Utopia\Messaging\Helpers\JWT::encode(): Argument #2 ($key) must be oftypestring, 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.