Issue with Onesignal Webpush integration

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

Steps I have tried to fix the problem:

Configured the Onsignal plugin

Features enabled

image

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

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?

The code functions properly after executing the following commands:

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