# Issue with Onesignal Webpush integration

**URL:** <https://forum.mautic.org/t/issue-with-onesignal-webpush-integration/29939>\
**Category:** Product Support\
**Created:** [November 14, 2023, 5:29am UTC](https://forum.mautic.org/t/issue-with-onesignal-webpush-integration/29939 "2023-11-14T05:29:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![siljo](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@siljo](https://forum.mautic.org/u/siljo)\
**Post date:** [November 14, 2023, 5:29am UTC](https://forum.mautic.org/t/issue-with-onesignal-webpush-integration/29939/1 "2023-11-14T05:29:40Z")

</div>

**Your software**  
My Mautic version is: v4.4.9  
My PHP version is: 8.0.30  
My Database type and version is: 10.6.12-MariaDB-0ubuntu0.22.04.1

**Your problem**  
My problem is with Onesignal integration for Web push. The campaign not triggering the web push from the Mautic instance

These errors are showing in the log:  
No Mautic Error log populated

Campaign action shows

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/f/fcd6ed51b339a6e98e604a14e6add612d79a979a.png)

Steps I have tried to fix the problem:

Configured the Onsignal plugin

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/8/839a2e9db755fb92e86359ab2c83d3d5c6758c28.png)

Features enabled

![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/1/1ecb0848820d2518dd90eb3750a29657f65d1ef9.png)

Account setup in Onesignal - Done

Added the JS code in Mautic Landing page

Subscription tokens are populated in Onesignal.

Tried sending web push from Onesignal and it is working

However, while executing the campaign not trigger the web push

---

<div class="post-metadata">

**Author:** ![samawal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/samawal/32/12606_2.png) [@samawal](https://forum.mautic.org/u/samawal)\
**Post date:** [December 2, 2024, 10:40am UTC](https://forum.mautic.org/t/issue-with-onesignal-webpush-integration/29939/2 "2024-12-02T10:40:00Z")

</div>

I believe I am experiencing a similar issue. Do you have any suggestions on how to resolve it, even if it involves modifying the code?

---

<div class="post-metadata">

**Author:** ![samawal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/samawal/32/12606_2.png) [@samawal](https://forum.mautic.org/u/samawal)\
**Post date:** [December 5, 2024, 12:51pm UTC](https://forum.mautic.org/t/issue-with-onesignal-webpush-integration/29939/3 "2024-12-05T12:51:38Z")

</div>

The code functions properly after executing the following commands:

```auto
PHP /var/www/mautic/bin/console mautic:campaigns:update
PHP /var/www/mautic/bin/console mautic:campaigns:trigger

```

mide use the right path for console mautic
