-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
Description
📜 Description
When fetching messages through the API endpoint /v1/messages
with push channel filter, the response includes messages but the "title" field is empty in the response. This occurs in the self-hosted version of Novu.
👟 Reproduction steps
Steps to Reproduce
- Set up self-hosted Novu instance
- Send push notifications through the Novu API
- Make a GET request to:
/v1/messages?channel=push&page=6&subscriberId={subscriber_id}
- Observe the response
Environment
- Deployment Type: Self-hosted
- Novu Version: 2.0.0
- Push Provider: FCM (Firebase Cloud Messaging)
Questions
- Is this behavior specific to the self-hosted version?
- Are there any specific configuration requirements for push notification titles?
- Could this be related to how the push notification templates are configured?
Impact
This issue affects the ability to properly track and manage push notifications through the API, as the title information is lost or not properly retrieved.
👍 Expected behavior
Expected Behavior
- The "title" field should contain the push notification title that was sent
- The field should not be empty when a title was provided in the original notification
👎 Actual Behavior with Screenshots
Current Behavior
- The API returns messages successfully
- The "title" field in the response is empty (
""
) for push notifications - Other fields in the response appear to be populated correctly
Novu version
v2.0.0
npm version
No response
node version
No response
📃 Provide any additional context for the Bug.
Additional Context
- This issue specifically affects the push channel messages
- The issue is consistent across different pages of results
- Other notification channels (email, etc.) may not be affected
👀 Have you spent some time to check if this bug has been raised before?
- I checked and didn't find a similar issue
🏢 Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to submit PR?
Yes I am willing to submit a PR!