+ Start a Discussion
Saikishore Reddy AengareddySaikishore Reddy Aengareddy 

HTTP Callout Response

Hello,

 

Can anyone help me out with this following response..

 

|CALLOUT_RESPONSE|[31]|System.HttpResponse[Status=HTTP Version Not Supported, StatusCode=505]

 

What does it mean?

Juan SpagnoliJuan Spagnoli

I think that the endpoint service doesn't support HTTP-1.1... try setting in the request's header this:

 

request.setHeader('Connection', 'close');

 

Good luck.

 

Saikishore Reddy AengareddySaikishore Reddy Aengareddy

I did set the header as you said... still it didn't worked...got the same response.

 

Thanks.

Juan SpagnoliJuan Spagnoli

How are you setting the request.? Please paste the callout's source code.