- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2018 12:56 AM
Hi all,
I am stuck in one of the my Delete method Rest message execution.
That rest message gave us the error: com.glide.communications.ProcessingException: Error executing REST request: null
Though in my integration process Catalog item gets deleted on the other side but in response I am getting any httpstatus code.
actually request.execute() is not working. And in Log I am getting the above error.
callEOSPostRequestAWSDeleteVM: function(VmId)
{
try
{
var returnedArray;
//gs.log("Payload in Script include is "+payload);
token = this.callEOSAWSAuthenticationToken();
gs.info("Token in EOSPostRequestAWSPOSTRequest is"+token);
var request = new sn_ws.RESTMessageV2('EOSPostRequest_AWS_Terminate', 'Delete VM');
request.setRequestHeader("cookie",token);
request.setHttpTimeout(1000*60*5); //Setting timeout to be maximum of 5 minutes.
request.setStringParameter('vm_id',VmId);
request.setStringParameter('subid',sub_id);
request.setStringParameter("rest_endpoint",rest_endpoint);
request.setStringParameter("version",version);
gs.log("vmid in Delete"+VmId);
var response = request.execute();
gs.log("vmid in Delete after ==>>>"+VmId);
gs.log("vmid in Delete response ==>> "+response);
var httpStatus = response.getStatusCode();
gs.log("httpStatus====>" +httpStatus,"EOS_httpStatus");
var responseBody = response.getBody();
gs.log("Response getBody====>" +responseBody,"EOS_responseBody");
//gs.log("Final Response in aws delete is====>>>"+responseBody);
//gs.log("Final Post aws delete request status==>"+httpStatus);
if(httpStatus.toString()=='204')
{
//return httpStatus;
}
catch(ex)
{
var message = ex.getMessage();
gs.log(message,'EOS_message');
gs.log(ex,'EOS_message');
}
},
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2018 10:07 PM
kindly do the test by using REST Message and mention the mid server. then check the status. if you will get the status 204 then in response you will get blank response body.
204 | Success | Success with no response body. |

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2018 01:02 AM
Hi
This maybe the problem with your firewall. Check once.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2018 01:20 AM
Would you please elaborate more for me.
Thank you for the quick response.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2018 01:28 AM
Hi
Do the following :-
https://support.mozilla.org/en-US/kb/configure-windows-firewall-allow-firefox-access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2018 02:07 AM
But I am using Chrome.