Start a new topic

Push Triggers stopped working | Console Push works


I have developed a social iOS app with standard Like and Comment activities.

Push triggers (BL Scripts) were working as expected and iOS users got push notifications until a couple of days ago.

At the moment Users do not receive any push when triggered from Business Logic scripts. They DO receive if sent from console.

Issue seems similar to this one.

Any ideas?



2 people have this question

Aris, can you comment with a somewhat exact time as to when this started happening?

Also, can you please provide me with the KID of your app?


My app id is kid_VPKnXagBmq. Unfortunately I cannot be accurate when it comes to when users were affected. Last push received according to users was April 23rd
Hi guys,
I'm also experiencing this problem on both iOS ans Android apps. Push stopped working a few days ago, also custom endpoints (that populate collections or send push) don't seem to do their job (scheduled or triggered from console).
Please advise.


Thanks Aris / V3ga for the bug report.  

This is confirmed as a bug.  Single user push is *not* working in the latest version of business logic.   If you passed in an array of user(s)(1 or more) then your issue should be resolved.  

This should be addressed soon, though the workaround of passing a single user in an array will continue to work after the fix is implemented.


Thank you Damien, workaround seems to do the job.
Still, not all calls to the custom endpoints work: only one out of 10-15, the other ones simply return http status 200 but don't do/log anything.
I think there is another problem as well.
Please advise.

Some sample code:
function onRequest(request, response, modules) {
  var log = modules.logger;;



Is that tiny snippit at the end not working?


Hi Damian,
Please try yourself with this basic custom endpoint:
function onRequest(request, response, modules) {
  var log = modules.logger;;

I just did it on another account and it does not log the request. Either from the "Test" button in the code editor, or from the api console. I get a "success" and http status 200, but no logs.

I believe this is proof custom endpoints were affected aswell in the latest business logic version.

Please advise.



Dear Damian,
FYI, the single user array fix you suggested above does not work anymore.
Is this what you meant?
push.sendPayload([user], iOSAps, iOSExtras, androidPayload);



I have the same problem. This code doesn't work. If I put response.continue instead of response.complete i receive message on phone but got error 500 BLTimeOut. Please help.

function onRequest(request, response, modules) {

var push = modules.push,collectionAccess = modules.collectionAccess;

collectionAccess.collection('user').find({'username': 'beo.001'}, function (err, user) {


push.sendMessage(user, 'user.username');




I can not understand that one of the key items on this platform does not work nearly two weeks. Do you intend to fix this problem and when. Because if you do not fix this I need to find another solution in a very short time. This is the fourth message I sent to your support and so far I have not received any answers.

Hi Vladimir,
1. afaik response.continue works only on hooks, if you want to finish the script execution use response.complete()
2. the place to use it (.complete) is in the callback of the find method, not outside it


It was an example of how it works and it should not. But today the situation is a little better. I noticed that messaging sometimes works sometimes not.  It seems to me that this service is not reliable for production. I wonder if it is the same situation when you take a paid package or it works 100%.

This code  does not work. No messages on phones.

function onRequest(request, response, modules) {

var push = modules.push;




I do not believe that there is a simpler example.

Hello Gentlemen,

I apologize for my absence at the end of last week I was quick sick.

I understand that there were quite a few issues with push.  We believe that we have gotten things under control on our end at this time.  Can you all let me know if you have any outstanding problems?


Login or Signup to post a comment