kneefer
kneefer
NNovu
Created by kneefer on 10/23/2024 in #💬│support
Bulk trigger 429 error
Hi, We are successfully using Novu in production for over a year. We are using the cloud version of Novu. Suddenly our action sending emails has stopped working today around 2024-10-23T10:53:55.247Z The request returns:
"code": "ERR_BAD_REQUEST",
"status": 429
"code": "ERR_BAD_REQUEST",
"status": 429
We are calling POST https://api.novu.co/v1/events/trigger/bulk endpoint with payload:
{
"events":[
{
"name":"tpl.broker.quote-document-prepared",
"to":[
"s:user:bb577ae4-8312-47e4-b9b7-fde31429d3ef"
],
"transactionId":"tran:d5c6dbf0-525a-accf-62e7-5a2253521431:notif:preproc:broker-quote-document-generated:tpl.broker.quote-document-prepared",
"payload":{
"siteName":"some name (redacted)",
"siteMpan":"some mpan (redacted)",
"attachments":[
{
"file":{
"type":"Buffer",
"data":[
77,
114,
116,
"..."
]
},
"name":"file_name_redacted.csv",
"mime":"text/csv",
"channels":[
"email"
]
}
]
}
}
]
}
{
"events":[
{
"name":"tpl.broker.quote-document-prepared",
"to":[
"s:user:bb577ae4-8312-47e4-b9b7-fde31429d3ef"
],
"transactionId":"tran:d5c6dbf0-525a-accf-62e7-5a2253521431:notif:preproc:broker-quote-document-generated:tpl.broker.quote-document-prepared",
"payload":{
"siteName":"some name (redacted)",
"siteMpan":"some mpan (redacted)",
"attachments":[
{
"file":{
"type":"Buffer",
"data":[
77,
114,
116,
"..."
]
},
"name":"file_name_redacted.csv",
"mime":"text/csv",
"channels":[
"email"
]
}
]
}
}
]
}
File size is 400 bytes only. There is very little information returned from API so we can debug it on our end. Anything you can help us with? We haven't updated the notification service (using Novu) for several months so definitely something has changed on the Novu side but can't identify what exactly. In terms of rate-limiting, we've only sent 23 messages today and we are way below our free tier's plan limit... not using even 1% of the capacity. Thanks for your help in advance!
9 replies