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

Thanks Aris, will review it now.


Hello Damien,

I sent you my business logic script with email.



Good afternoon Aris,


My sincere apologies for the challenges you've experienced recently with the Kinvey service -- I'm sure these challenges have been very frustrating.  We take the quality and reliability of our service extremely seriously and certainly never intend for any user to experience this degree of difficulty with our platform.  We're working hard to correct the issues you've experienced and appreciate your forbearance.


Given the challenges you've experienced, I want to make sure that you get unblocked as soon as possible.  Where (if) you are still experiencing issues (with push notifications or anything else), can you please send us a copy of the business logic and the device token you're targeting?  This will enable us to do some additional internal testing specifically on your use case to ensure that your code is working as intended.


Apologies again for the difficulties -- we remain committed to turning this around for you.

Guys push notifications are not working AGAIN! This is turning to a charade! 

If you can’t ensure that push notification or business logic scripts can run properly on your platform for at least 5 days in row, then you should be transparent and warn people prior to signing up with your service that you are facing major stability issues. 

In the event a key component was not working at Parse or any other tech company that respects itself, everybody would be running to resolve this issue. It is 2015, you are offering a BaaS and you can’t guarantee to your clients that push notifications will not stop working! 

Most important of all, you have companies that decided to invest their resources on Kinvey by building products on it and you are completely unable to run a proper service.

Thank you for posting this Gary, this is something that we hadn't considered before now that we are looking into as a possible cause for push not working properly.


I just started encountering this problem and unless I changed something and forgot about it, I am pretty certain that these BL scripts that were working fine yesterday were not changed.

After a lot of testing, it seems that if I don't finish the script with complete/continue/error and let a BL script timeout, the push will go through. I wrote a really simple script to send a push notification to everyone:

 function onRequest(request, response, modules) {

     var now = modules.moment();

     var message = "Custom Endpoint: " + now.unix();



 The above script executes fine but the push will not be sent. However, if I remove the response.complete(), the push will send correctly.

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?


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.

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%.

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


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.

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');




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);



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.




Is that tiny snippit at the end not working?


Login or Signup to post a comment