Skip to main content
Dec 14, 2019 4:11 PM UTC
Solved

Error from the server: "" - At Mashup

Hi,

I have created a service which is running at back end while executing. But, in mashup while clicking the button it was telling like Error from the server: "". I don't understand what is happening. I have tried after restarting also showing the same error.

Thanks.

Untitled.png

drichterAnswer
Dec 17, 2019 7:51 AM UTC

Maybe you can wrap your service code in a try-catch-block with line number paramter of the error. So you can see where the error was thrown. Maybe this helps to see what is going on.

 

try {

  // service code

}

catch(err) {
    logger.error("Error at " + me.name + ".SERVICENAME [" + err.lineNumber + "]: " + err.message);
}

2 replies

drichterAnswer
Dec 17, 2019 7:51 AM UTC

Maybe you can wrap your service code in a try-catch-block with line number paramter of the error. So you can see where the error was thrown. Maybe this helps to see what is going on.

 

try {

  // service code

}

catch(err) {
    logger.error("Error at " + me.name + ".SERVICENAME [" + err.lineNumber + "]: " + err.message);
}

Dec 30, 2019 4:20 PM UTC

Hi @Sathishkumar_C.

 

If you are satisfied with the response previously provided, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon