Getting ResponseValidationError when using @novu/api
Hi, I was trying to perform update from an outdated @novu/node package to the @novu/api one, but unfortunately stumbled upon some errors. Some info for the context: We are using @novu/framework with NestJS for our code-first workflows. The outdated package that I am trying to replace was used for 3 things (@novu/node package was working fine in all 3 cases): 1. novu.triggerBulk to trigger notifications. Works perfectly with the new package 2. novu.subscribers.create to send information regarding newly created users in the system. New package updates the subscriber info, but returns
json. Not critical, but such response validation error looks a little bit weird 3. novu.messages.retrieve({ subscriberId }) + novu.messages.delete to delete some messages that were sent to particular subscribers (saved us several times). And this is unfortunately completely broken. First request is throwing ResponseValidationError with such cause