# Notifications not working

**URL:** <https://forum.wixstudio.com/t/notifications-not-working/66939>\
**Category:** Ask the community\
**Tags:** wix-notifications-v2, wix-bookings, question, code\
**Created:** [January 4, 2025, 7:03am UTC](https://forum.wixstudio.com/t/notifications-not-working/66939 "2025-01-04T07:03:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Baksheesh](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@Baksheesh](https://forum.wixstudio.com/u/Baksheesh)\
**Post date:** [January 4, 2025, 7:03am UTC](https://forum.wixstudio.com/t/notifications-not-working/66939/1 "2025-01-04T07:03:40Z")

</div>

I have been trying unsuccessfully to create a notification using the newer wix-notifications.v2 API (which replaces the fickle wix-crm-backend notification API). The backend fires with the console log showing body, channels and options parameters passed correctly, but no notification is sent to Admin or ContactId and the console shows this error.

message: Not Found  
details:  
applicationError:  
description: Not Found  
code: NOT\_FOUND  
data: {}

Front End code

```javascript

import { sendNotification } from "backend/SendNotification.web";

...

async function CreateNotification(bookedBy, ccode){ 
  const body = bookedBy + " has booked class/course " + ccode;
  const channels = ["Browser", "Dashboard", "Mobile"];
  const options = {
    action: "BOOKING",
    title: "Course Booked",
    toContacts: {
      contactIds: ["33ed90a3-4732-4200-a403-7e4f3e730cb3"],
    },
      targetDashboardPage: "Home"
  };

  console.log("Notification to send: " + body, channels, options);
  sendNotification(body, channels, options)
  .then((result) => {
    console.log("New Notification sent successfully: ", result);
  })
  .catch((error) => {
    console.log("New Notification failed: ", error);
  });
}

```

Back end code (web.js file)

```javascript
import { notifications } from "wix-notifications.v2";
import { webMethod, Permissions } from "wix-web-module";
import { elevate } from "wix-auth"; 

const elevatedNotify = elevate(notifications.notify);

export const sendNotification = webMethod(
  Permissions.Anyone,
  async (body, channels, options) => {
    try {
      console.log("BACKEND: Notification to send: " + body, channels, options);
      const result = await elevatedNotify(body, channels, options);
      return result;
    } catch (error) {
      console.log(error);
    }
  },
);

```

Have yet to see anyone claiming they’ve managed to get the Notifications.V2 API to work. Any ideas on what is causing the error here, or a different approach?

---

<div class="post-metadata">

**Author:** ![thisisjaymehta](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/thisisjaymehta/32/97112_2.png) [@thisisjaymehta](https://forum.wixstudio.com/u/thisisjaymehta)\
**Post date:** [January 4, 2025, 10:55am UTC](https://forum.wixstudio.com/t/notifications-not-working/66939/2 "2025-01-04T10:55:04Z")

</div>

I am also facing this exact problem.

---

<div class="post-metadata">

**Author:** ![Baksheesh](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@Baksheesh](https://forum.wixstudio.com/u/Baksheesh)\
**Post date:** [January 28, 2025, 8:27am UTC](https://forum.wixstudio.com/t/notifications-not-working/66939/3 "2025-01-28T08:27:11Z")

</div>

Update. Wix Velo Developer Preview support has acknowledged that “there’s an issue with the Notifications API” and they are looking into. Hopefully they’ll release a patch soon.
