You need to sign in to do that
Don't have an account?
Internal Server Error Status Code 500
Hello Friends,
I'm getting error when I'm calling web page (.aspx) from Apex Trigger. Following is the code snapshot:
global class ContactApexClass
{
Httprequest req = new HttpRequest(); id = id.replace(' ','|'); req.setEndpoint('http://65.38.26.120/SB_CreateNewPassword/ContactCreatePWD.aspx?Id='+Id+'&RecType=SI'); req.setMethod('GET'); Http http = new Http(); Httpresponse res = http.send(req);
}
I'm getting error as follows:
16:04:31.059|CALLOUT_REQUEST|[45]|System.HttpRequest[Endpoint=http://65.38.26.120/SB_CreateNewPassword/ContactCreatePWD.aspx?Id=003T000000VP2hQIAT&RecType=SI, Method=GET]
16:04:31.986|CALLOUT_RESPONSE|[45]|System.HttpResponse[Status=Internal Server Error, StatusCode=500]
16:04:31.986|METHOD_EXIT|[45]|System.Http.send(APEX_OBJECT)
Please suggest me how to get rid from this error.
Thanks,
Maddy