Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CL_HTTP_ENTITY-> GET_HEADER_FIELD return code 407

hagit
Active Participant
0 Likes
1,793

Hello Experts,

In order to connect to URL I call cl_http_client=>create_by_url( EXPORTING url = im_url ….)
During the standard methods an exception http_communication_failure is raised.

In the debug I can see that method GET_HEADER_FIELD in CL_HTTP_ENTITY is called. There value = 407

Is this error code connect to ‘407 Proxy Authentication Required’?

Thank you in advance

Hagit

5 REPLIES 5
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,716

It says to indicate proxy information while connecting (= proxy parameters of create_by_url).

Read only

hagit
Active Participant
0 Likes
1,716

sandra.rossi thank you for your answer.

Is it a baisis issue or are there missing parameters in the url ?

I want to emphasis that the same url from the browser works ok. But via a code (create by url) an exception is raised.

Read only

Sandra_Rossi
Active Contributor
1,716

You need to fill the proxy parameters of create_by_url.

Read only

Yogananda
Product and Topic Expert
Product and Topic Expert
1,716

This value means that the server requires authentication. You need to authenticate with the server in order to access the URL. You can either do this by providing credentials in the cl_http_client=>create_by_url method, or by setting the credentials in the global configuration of the HTTP client.

Read only

hagit
Active Participant
0 Likes
1,716

sandra.rossi and yoganandamuthaiah

Thank you for yoyr answer