Business Logic Timing Out

I am currently testing a small piece of custom code:

Backendless.ServerCode.customEvent('Hello', function(req) {
return 'Hello World';

When I hit the end point: I get the following response:

"code": 15000,"message": "Custom business logic execution has been terminated because it did not complete in permitted time - 5 seconds"

Any ideas? I’m sure it was working yesterday


See if changing the return type to an object would make any difference?

Backendless.ServerCode.customEvent('Hello', function(req) {
return {result:"Hello World"};

Same problem unfortunately. The weird thing is, everything was working yesterday. Could it be a problem with the platform itself?


Hi Gary,

Does it work in the debug mode?


Do you mean does it successfully run using…

npm run debug

If that is what you mean then yes it does.

Could you please try it again?

Sorry for the delay in responding. Still not working for me.


What is your application id?