error handling : Internal server error: 500

0
Hello Team, I am consuming the rest api to show the service list  of asset . below is the microflow define to show the service list      when there is no service data available for the asset then api will give internal server error  Response Code:500 Response Body is given below: {  "timestamp": 1562149673278, "error": null, "details": "uri=/dt-interface-connection-rest-api/enterprise-service-executes" } Due to internal server error it’s poping up the error msg:      Logs : An error has occurred while handling the request. [User 'Anonymous_a7030788-efcb-442f-a519-36d61a72c84b' with session id '069ea832-XXXX-XXXX-XXXX-XXXXXXXXc7aa' and roles 'Administrator'] com.mendix.webui.WebUIException: Exception while retrieving data for list widget 'MyFirstModule.AssetOverview_Details.listView1' on page 'MyFirstModule.AssetOverview_Details'     at com.mendix.webui.actions.client.RetrieveByMicroflowAction.$anonfun$apply$2(RetrieveByMicroflowAction.scala:60) Caused by: com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: Error calling REST service     at MyFirstModule.Act_GetService_List (CallRest : 'Call REST (POST)') Advanced stacktrace:     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:389) Caused by: com.mendix.modules.microflowengine.MicroflowException: Error calling REST service     at MyFirstModule.Act_GetService_List (CallRest : 'Call REST (POST)') Advanced stacktrace:     at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:57) Caused by: com.mendix.modules.microflowengine.MicroflowException: 500: Internal Server Error     at MyFirstModule.Act_GetService_List (CallRest : 'Call REST (POST)')   Can anyone help me with how to handle internal server error in microflow so that the popup won’t display?  
asked
1 answers
1

Would Error Handling work?

answered