-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application crashing when trying to trigger alert #43
Comments
Hi @gopalanand333 , Did you define "notifications" under "Cds.requires" in package.json file ? Ideally, the structure should be "SAP_Notifications" should be defined as a destination in BTP Cockpit. You can get information about destination from the Site settings of Build Work Zone. |
@anshuman92 |
@gopalanand333 No, the plugin does not add automatically as mentioned. Therefore, I added manually as a usual practice after setting destinations in BTP cockpit. |
Also stumbled on this. Here is a code snippet which I have added to 'server.js': cds.on("served", async ()=>{
const {deployNotificationTypes} = require("@cap-js/notifications/lib/content-deployment");
}) |
Yeah, I have added this too. |
Hi,
My application is crashing when it is trying to trigger the notification. I am getting the following error:
Here's my MTA
The text was updated successfully, but these errors were encountered: