cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP 401 UNATHORIZED

Former Member
0 Kudos

Hi all,

I have a scenario from R/3 to SCM via SAP PI 7.1 where a product notification is send to SCM. At the moment, I am facing the following error:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

- <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="INTERNAL">UNAUTHORIZED</SAP:Code>

<SAP:P1>401</SAP:P1>

<SAP:P2>Unauthorized</SAP:P2>

<SAP:P3>(See attachment HTMLError for details)</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

I have checked the fowllong:

- XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER

- SCM sicf entry for xi/engine is active

- connection string which I have in the adapter is checked in my browser and can login

- Checked the password for XIAPPLUSER and they are all correct

So does anyone have another Idea?

Best regards,

Guido Koopmann

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi koopman,

Ref : /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi - For HTTP errors

Thanks,

Answers (3)

Answers (3)

0 Kudos

Hi,

In order to solve this ensure you have maintained the correct password, which MUST be the same, for all the service user on XI and ensure it has eight (8) characters in length.

You may check all the places it should be maintained, such as Exchange Profile, SU01, SLDAPICUST, etc..

Kindly check the note below:

#999962 - PI 7.10: Change passwords of PI service users

Also ensure that the user has the correct role as per link below:

http://help.sap.com/saphelp_nwpi71/helpdata/en/9f/d12940cbf2195de10000000a1550b0/frameset.htm

Regards,

Caio Cagnani

Former Member
0 Kudos

hi koopman,

try checking client field in the communication channel (under Aunthentication data) i.e if its pointing to the default client on the system you are trying to send the data to.

Former Member
0 Kudos

The authentication failure could be due to high load.

You'll have to increase ume.r3.connection.master.poolmaxsize and ume.r3.connection.master.poolmaxwait.

Check SAP note:[ 821026|https://service.sap.com/sap/support/notes/821026]: AdapterEngine messaging URL returns HTTP 401 under high load