cancel
Showing results for 
Search instead for 
Did you mean: 

Authorization error while sending by HTTP (error code: 401 , error text: Unauthorized)

Former Member
0 Kudos

I have seen some blogs on this topic, tried every possible option I could think of but no luck :-

We are upgrading from 7.0 to 7.3 .. post installation after the server was handed over to us, we imported the TPZs of the ESR and the ID and created the target business systems, and activated with proper credentials.

- While doing an end-to-end we are getting - Authorization error while sending by HTTP (error code: 401 , error text: Unauthorized)

- We checked and changed the standard service users - PIAFUSER, PIAAPLUSER, PISUSER .. verified it with the exchange profiles and bounced the server

- The error is in the call adapter level in the pipeline

To summarize it - the abap stack cannot communicate with the java stack. We are unable to trace the root cause of the problem.

Need help!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

any suggestion please?

Former Member
0 Kudos

Hello,

Please check the trace of an error message in SXMB_MONI.

Do you see the details below:

<Trace level="1" type="T">Get logon data for adapter engine

(SAI_AE_DETAILS_GET):</Trace>

<Trace level="1" type="T">User = <user> </Trace>

  <Trace level="1" type="System_Error">Authorization error while sending

by HTTP (error code: 401 , error text: Unauthorized)

Try assigning the following roles to the user that you see in that section of the trace:

SAP_XI_AF_SERV_USER_MAIN

SAP_XI_APPL_SERV_USER

SAP_SLD_CONFIGURATOR

Kind regards

Sarah

Former Member
0 Kudos

Hi,

did you check SM59, like connection INTEGRATION_DIRECTORY_HMI? Check whether credentials are given properly there.

Regards,

Jörg

Former Member
0 Kudos

Thanks Jörg, you are right. Have to approach Basis team.

former_member184789
Active Contributor
0 Kudos

Hi friend,

As per a troubleshooting guide available with me, for this error:

User XIAFUSER/PIAFUSER has used the wrong password. Check the exchange profile and transaction SU01; try to reset the password.

Restart the Java Engine to activate changes in the exchange profile

Former Member
0 Kudos

Hi Adarsh,

              We performed all the above steps.. we have been doing all these since the last 4 days .. the BASIS team even asked us to create new scenarios .. re-create all the comm channels .. re-create the Business Systems ..

We did all the above steps u mentioned .. But still no luck!

rajasekhar_reddy14
Active Contributor
0 Kudos

What kind of scenario it is?Check RFC destination(IDoc/Proxy scenario)

Former Member
0 Kudos

This is giving error for all the scenarios!

Proxy, IDOC, File, RFC, SOAP ...... we even tried creating new objects in ID tested with Business Components .. thought SLD might be a problem hence avoided Business System. But it still gave the 401 Auth error!