cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Proxy: Error code 401

Former Member
0 Likes
1,122

Hi,

In my file to proxy(XI adapter), i am getting the following error:

"<i>HTTP response contains status code 401 with the

description User not authorized for message

processing</i>"

The user that i am using on the xi adapter has the role "SAP_XI_APPL_SERV_USER" added.

Is there something that i am missing

View Entire Topic
prateek
Active Contributor
0 Likes

Check if ur PIAFUSER and PIISUSER are locked.

Also please brief whr exactly u r gettin this error and how much of the scenario is successful

Regards,

Prateek

Former Member
0 Likes

The message fails on a step where it calls the XI adapter. Here is the message from the pipeline:

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

- <!-- Call Adapter

-->

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

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

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

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

<SAP:P2>User not authorized for message processing</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText><html><body><H1>SAP Integration Engine</H1><BR />User not authorized for message processing.<BR /></body></html></SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>HTTP response contains status code 401 with the description User not authorized for message processing Authorization error when sending using HTTP (error code: 401, error text: User not authorized for message processing)</SAP:Stack>

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

</SAP:Error>

Former Member
0 Likes

In SU01, how do i confirm if a user is locked on or not?

prateek
Active Contributor
0 Likes

In su01, select the username and click on the lock icon. It wil display if it locked or not

Regards,

Prateek

Former Member
0 Likes

Both the Users are not locked

prateek
Active Contributor
0 Likes

Please providde ur XI adapter configurations. I think there is some problem with that. e.g. Port

Regards,

Prateek

Former Member
0 Likes

Adapter Details:

SAP system is 6.20

Transport Protocol: HTTP 1.0

Message Protocol: XI 2.0

Addresing type: URL Address

TargetHost: XYZ

Port: 8000

Path: /sap/xi/engine?type=receiver

Any ideas?

VijayKonam
Active Contributor
0 Likes

Are u on XI 3.0 or 2.0? Change the Messgae protocol to 3.0 if you or in Xi 3.0 or higher.. Also url ?type=entry

VJ

Message was edited by:

VJ

prateek
Active Contributor
0 Likes

The configurations looks correct. Just check the ABAP port 8000 again in smicm - menu goto - services.

Also u may try this, instead of using Addresing type: URL Address, use HTTP Destination. Go to sm59, create a new http destination and there Use the following path prefixes in the Target System Settings.

/sap/xi/engine?type=receiver

Regards,

Prateek

Former Member
0 Likes

I have created an RFC destination of type "H", with path prefix: /sap/xi/engine?type=receiver.

When i try to test the connection, i get another login screen. After a few tries, i get the following error:

html><body><H1>SAP Integration Engine</H1><BR />User not authorized for

message processing.<BR /></body></html>

Any ideas

Former Member
0 Likes

HI,

Make sure your business system is set up as follows:

1. Transaction SXMB_ADM

- Role of System: Application System

- Corresponding Integration Server: dest://<your_sm59_http_destination>

2. Ensure that the RFC destinations LCRSAPRFC and SAPSLDAPI are maintained and working (see the Configuration Guide, chapter 5.3)

3. Run SLDCHECK to verify that the connection to the System Landscape Directory works.

4. Check that the Integration Repository is running and data is maintained there.

thnx

Chirag Gohil