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.Recommended threads
- Error upgrading from 1.8.1 to 1.9.0
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...