cancel
Showing results for 
Search instead for 
Did you mean: 

help needed to resolve Received HTTP response code 401 : Unauthorized

Former Member
0 Kudos

2011-04-08 11:37:48 Error Transmitting the message to endpoint http:---/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized

while i was executing file to file scenario. the error occoured.

Edited by: subbuk76 on Apr 8, 2011 8:12 AM

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member463616
Contributor
0 Kudos

Hi,

>>>com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized.

For this, you have goto T.code: SLDCHECK, and check whether any errors are there.

Please see the below link, it might be helpful to you.

Regards,

P.Rajesh

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Also check SAP Note 821026 - AdapterEngine messaging URL returns HTTP 401 under high load.

Hope this helps,

Mark

Former Member
0 Kudos

As the error indicates, the username/PWD you are using in file adapter to write the file (FTP) at target location is incorrect and hence the error. Please check and let us know.

3) Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized

Description: The request requires user authentication

Possible Tips:

u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER

u2022 If the error is in Adapter Engine

u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.

u2022 May be wrong password for user XIISUSER

u2022 May be wrong password for user XIAFUSER

u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message

Also, for HTTP errors in future do refer this blog:

/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

It will help you

former_member185881
Active Participant
0 Kudos

Hi

the error is because of the user which is trying to push the data into the IS using tha above link if failling...mostly check the PWD of the PISUPER.....

check are you able to login to the IS URL using all the service user...

also make sure your FTP Credentials are fine afer that.

Regards

Dheeraj Kumar