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
- Bug Report: type generation for enum of ...
### 👟 Reproduction steps in the enum element value, instead of English, use another language (Khmer), in my case Khmer text. ``` export enum ProvinceType { ...
- Github Repos are not appearing on sites ...
Hi, Has anyone had recent issues with sites feature where github repos are not appearing? I even tried unliking and giving it a shot! It does not even show up, ...
- [Bug] Cannot set any token expiry to Nev...
Tried with file tokens and api keys