Skip to main content
17-Peridot
December 14, 2019
Solved

Error from the server: "" - At Mashup

  • December 14, 2019
  • 2 replies
  • 1251 views

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

Best answer by drichter

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

drichter1-VisitorAnswer
1-Visitor
December 17, 2019

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

Support
December 30, 2019

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