frankensteinOriginal post
Rank 4: Virtual Machine
am getting this when i send a push message from appwrite console
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
Summary
Issue: Error occurs while sending push message from the appwrite console due to a missing string key.
Solution: Provide a valid string key when sending the push message to resolve the error.