PidginEnemy
NNovu
•Created by PidginEnemy on 11/9/2023 in #💬│support
Got error after trying to use novu.broadcast
I planned to use this method (https://docs.novu.co/api-reference/events/broadcast-event-to-all) to send in-app notification for all of my users. I tried on my sandbox this approach and got error after 500th transaction (this happens exactly after 500 transaction)
Error from novu:
transactionId property is not unique, please make sure all triggers have a unique transactionId
I can't understand what this error does it means. Maybe someone can explain me ? Thanks.6 replies
NNovu
•Created by PidginEnemy on 11/8/2023 in #💬│support
Error after trying to send message in a topic with big amount of subscribers
Hello, i use this method to trigger message in a topic - https://docs.novu.co/subscribers/topics#trigger-workflow-to-a-topic
I got error in my production app, while i send message to topic and after my subscribers in topic became to big (more than 2 million subscribers in a topic).
Error:
RangeError: Invalid string length at JSON.stringify (<anonymous>) at TopicSubscribersRepository.mapEntities (/usr/src/app/libs/dal/dist/repositories/base-repository.js:199:86) at TopicSubscribersRepository.<anonymous> (/usr/src/app/libs/dal/dist/repositories/base-repository.js:93:25) at Generator.next (<anonymous>) at fulfilled (/usr/src/app/libs/dal/dist/repositories/base-repository.js:5:58) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
I have a few questions.
- Do you have any restrictions, for example, max count of subscribers in a topic ?
- Maybe you know different ways to send a message to topic, that have a lot of subscribers ?6 replies
NNovu
•Created by PidginEnemy on 11/7/2023 in #💬│support
Error in topics endpoint
Hello, i have this error in production: PlanExecutor error during aggregation :: caused by :: Total size of documents in topicsubscribers matching pipeline's $lookup stage exceeds 104857600 bytes
I fetch topics through this point: https://docs.novu.co/api-reference/topics/filter-topics
Can you explain what is this ?
10 replies