Start a new topic

This BL Function is empty - Error / Breaker :(

Hey,

i have several bl endpoints, and one of them shows me this "error" each time i want to save it:


 What does this mean? There are response calls on the script, and the script is working, too....



best, Nico

png
1 Comment

Hi Nico,


Can you try deleting this endpoint and creating a new one with same codebase? Can you paste the source code?


I am able to recreate the error only when the endpoint code is empty like following example.

 

function onRequest(request, response, modules) {
}

 


Even if I create following endpoint, I am able to save it without error.

 

function onRequest(request, response, modules) {
  modules.logger.info("Hi");
}

 


Also, please share your Kinvey environment ID (e.g. kid_xxxxxxx) and BL endpoint name.



Regards,

Wani

Login or Signup to post a comment