+ Start a Discussion
Vijay NagarathinamVijay Nagarathinam 

System.HttpResponse[Status=Internal Server Error, StatusCode=500]

Hi,

I am getting the below error while running my web service class. Please let me know how to resolve this issue.

System.HttpResponse[Status=Internal Server Error, StatusCode=500]

Thanks,
Vijay
Akhil AnilAkhil Anil
Hi Vijay,

This error is being returned by the external server to which you are passing some request. There are two possibilites for this to happen.

1. You format of your request doesn't match with what the external end point expects.

2. There might be a run time error in that external system when your request is fired.

Your best bet is to have a word with the folks in that team and cross-verify the request message that you are sending to them.
Vijay NagarathinamVijay Nagarathinam
Thanks, Akhil.
Akhil AnilAkhil Anil
Hi Vijay,

If your query has been answered can you please mark an answer so that we can close the thread ?