26 Aug, 2026, 21:17
When creating a message target via flutter sdk via
TypeScript
final target = await _account.createPushTarget(
targetId: targetId,
identifier: deviceToken,
providerId: providerId,
);
and then creating a new message via web ui, there is an error showing up and the push is not send. logs from web ui:
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 63
provider is fcm.
Appwrite version: 1.9.6 Flutter sdk version: ^25.0.0
TL;DR
When sending push notifications using Flutter SDK and targeting devices, an error occurs with FCM provider showing "Utopia\Messaging\Helpers\JWT::encode(): Argument #2 ($key) must be of type string, null given." This issue prevents the push notifications from being sent successfully. The versions used are Appwrite 1.9.6 and Flutter SDK ^25.0.0.Recommended threads
- Bulk API limitations in self-hosted serv...
Environment: Appwrite Selfhost SDK: node-appwrite 28.0 Calling `upsertRows` (also applies to `createRows`/`updateRows`/`deleteRows`) with more than 100 rows fa...
- Self Hosted GitHub connection not adding...
After upgrading to 1.9.6 i noticed that i cannot search for new repositories when trying to add new functions. I removed the existing github connection via Set...
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...