
TypeScript
Endpoint: https://fra.cloud.appwrite.io/v1
Project: 6899062700398ffeae4f
Database: threed-dating-db
Notification for user: 689a68dc3e3714d2a204
Title: "New user report: other"
Body: "jsnbdndk sjdjdnd"
Data keys: reportId, reporterUserId, reportedUserId, category
Generated messageId: "New_user_report__other" (22 chars)
Sending push notification...
Push error details: {
"name": "AppwriteException",
"code": 400,
"type": "general_argument_invalid",
"response": {
"message": "Invalid `messageId` param: Parameter must contain at most 36 chars. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char",
"code": 400,
"type": "general_argument_invalid",
"version": "1.8.0"
}
}
Native logs detected. Use context.log() or context.error() for better experience.
Notification status updated to: failed
these are the logs of my appwrite functions to send pushnotifications over appwrite messages. i tried everything but i cant get it working bacause of the message id. i tried only numbers randome number and letter combinations, nothing works. i dont know what my issue could be. If u need anything other please notify me
TL;DR
Developers are facing an error when trying to send push notifications using the Appwrite messaging API due to an invalid 'messageId' parameter. The parameter must be at most 36 characters long and must contain specific valid characters. The issue is likely due to the format of the 'messageId'. Ensure that it follows the specified rules.Recommended threads
- function unable to detect client ip
Hi I have hosted appwrite on self hosted server. Currently I don't have any domain. I am accessing through ip. I have created one function which should detect t...
- ๐ Bug Report: Sign in with Apple/Google...
Environment: - Appwrite version: 1.8.0-RC2 (self-hosted) - Working version: 1.8.0 (Appwrite Cloud) - Platform: React Native - React Native version: 0.74.5 - re...
- Appwrite Cloud Function runs forever, ev...
It just keeps running, and there's no way to manually stop it.
