Skip to Content

HTTP operation failed invoking https:///odata/v2/upsert with statusCode: 401

Jun 06, 2017 at 10:49 AM


avatar image

Hi ,

I am working on standard interface in Cloud Platform Integration i.e. Employee Central to ERP Employee Data, for which when we are triggering Iflow from Cloud Platform Integration, it will reach successfully to ECC, but it needs one more interface for Confirmation i.e. ERP to Employee Central Confirmation.

In this interface, the confirmation xml is reaching to Cloud Platform Integration end but it is not communication with Success Factor and this errors comes out.

org.apache.camel.component.ahc.AhcOperationFailedException: HTTP operation failed invoking https://<Base URL>/odata/v2/upsert with statusCode: 401.

I configured this interface as per standard document provided by SAP, and as per my understanding 401-Status Code is for Unauthorization, but same user credentials is working for other interfaces in which we were communicating with Success Factor. I also tried it with POSTMAN using Same User Credentials and it is working fine, but with Cloud Platform Integration it is not working.

I am stuck at this point, if any one can suggest me please help.!

Thanks in Advance!


Pravesh Shukla

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Sana Faraz
Jun 07, 2017 at 03:00 AM

Hi Pravesh,

Since you are making a HTTP call to the Success Factor backend your deployed credential type should be 'Default'. Also, please note that the username should be in the format 'user@companyID'.



Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thanks Sana.

It helps :) :)


Hello Pravesh,

So did you deploy actually two Security Artifacts with same user details?
One for the SOAP based Compound API Call and another for the above mentioned HTTP Odata Call.
I had to maintain two, with same user details.