Skip to Content

Error ICM_HTTP_CONNECTION_FAILED for IF_HTTP_CLIENT->RECEIVE

Dear Expert,

I have this issue - ICM_HTTP_CONNECTION_FAILED and try to find from many sources, but none of them solve my problem. My problem here is the code sometimes work, sometimes not work when call the same URL.

At first, I am using cl_http_client=>create_by_url to call the URL. Then trigger IF_HTTP_CLIENT->SEND followed by IF_HTTP_CLIENT->RECEIVE. I am getting the code return 400 and message ICM_HTTP_CONNECTION_FAILED.

Is there something I have miss out the connection setting? Kindly help.

Thanks and Regards

Hock Lin

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 23, 2017 at 05:11 AM

    You can trace the log in Tr-code smicm. The reason may be bad net.

    Add comment
    10|10000 characters needed characters exceeded

  • May 23, 2017 at 05:34 AM

    400 is a bad request error. That means the target thinks your request is corrupted in some way. Check the error log on the target.

    Add comment
    10|10000 characters needed characters exceeded