As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
GET http://baas.kinvey.com/appdata/APP_ID/expense-reports method but returns {"error":"BLTimeoutError","description":"The Business Logic script did not complete. Please contact support","debug":"The script was terminated due to timing constraints: took more than 2000ms to complete. Did you forget to call response.complete() or response.continue()?"}
Hasan:
Every one of your BL scripts must end with either a response.complete() or a response.continue() without exception. Thus your business logic will never complete and will wait for longer than 2 seconds.
The template when you create new business logic looks like this:
function onPreSave(request, response, modules) {
response.continue();
}
Which contains the response.continue() as indicated.
Please let me know if you have any other questions,
h
hasan
said
about 8 years ago
First of all this is not a POST method, I am requesting a GET method. If GET method triggers onPreSave, this is not logical. On the other hand, I tried your suggestion and result is the same. We are not allowed to change get method and i think there is a problem at a side that we can't see.
h
hasan
said
about 8 years ago
Yesterday, I could see data on tab, today I cannot see data there
h
hasan
said
about 8 years ago
I've found the problem. This was onPostFetch. not returning response.continue or complete!
hasan