Proxy: Error code 401

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

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>

Similar Messages

  • ABAP Client Proxy error code: 401, error text: Unauthorized

    Hi,
    I have Client proxy in ECC for oubound interface in PI 7.0, when i look into SXMB_MONI of ECC i can see my message with Error "HTTP response contains status code 401 with the description Unauthorized Authorization error while sending by HTTP (error code: 401, error text: Unauthorized)".
    As per few thread i already assign SAP_XI_APPL_SERV_USER role to PIAPPLUSER in ECC, still i am getting same eror.
    I do not understand how this Proxy communication work, which ECC user will be use in communication and how this communcation link to RFC destination "SAP_PROXY_ESR" type G. Even i can not see type H in ECC so i created RFC destination of type G.
    With Regards
    Sunil

    We were able to get it working by making a change in the Integration Engine Configuration (in sxmb_adm).
    Changed "Corresponding Integ. Server" from "http://<server>:<port>/sap/xi/engine?type=entry"
    to "dest://RFCdestinationName"

  • Creative Cloud Installation Failed Download Error - Error Type -7 and Error Code - 401

    I subscribed to Creative Cloud in December 2012 and have been trying to install the applications, but the "Installation Failed" through the Adobe Application Manager. (see screenshot)
    Here is a line from my log file:
    01/08/13 11:08:48:346 | [WARN] |  | ASU | PDApp | DownloadError |  |  | 6120 | Download Error has come with GDE Error type - -7 and error code - 401
    I tried searching for the same error code in the "knowledge base" but couldn't locate any.
    I am on a Windows 7 (x64) machine. I also have CS5.5 installed.
    Anyone have this problem? Please help or point me in the right direction if you can. Thanks!

    Thanks Romsinha,
       I tried the above steps, with no luck.  I have admin rights on both laptop and desktop I'm trying to install to.  I have updated my AAM on both machines with no issue (when using the direct link above). But when I click the 'Try' link to download an application, it shows the scrolling status bar for a few seconds, then  "Installation Failed"  'Download error. Press Retry to try again or contact customer support. (-7)'   Retry only produces same results.
    Both machines are running Win 7 Pro - SP1 64bit
         (laptop - 16 GB RAM & Core i7-2760QM 2.40 GHz processor)
         (desktop - 8 GB RAM & Xeon W3520 2.67GHz processor)
    I am running in a corporate setting with I'm sure all sorts of Firewall protection etc...
    I'm planning on asking for a CC membership, but wanted to check out the new features first....
    Thanks!

  • Making a REST webservice call. Error code: 401 Access to the requested resource is not allowed

    Hi All,
    I’m having a hard time figuring out how to make Rest WebService calls.
    I tried executing this directly through browser and I get an error.
    http:localhost:8080/rest/bean/atg/userprofiling/ProfileServices/loginUser?arg1=[email protected]&arg2=Password
    13:18:20,613 ERROR [RestSecurityServlet] Error code: 401
    Access to the requested resource is not allowed: /atg/userprofiling/ProfileServices
    atg.rest.RestException: Access to the requested resource is not allowed: /atg/userprofiling/ProfileServices
    at atg.rest.processor.RestSecurityProcessor.checkAccess(RestSecurityProcessor.java:546)
    at atg.rest.processor.RestSecurityProcessor.handleGetRequest(RestSecurityProcessor.java:313)
    at atg.rest.processor.RestSecurityProcessor.doRESTGet(RestSecurityProcessor.java:199)
    at atg.rest.servlet.RestPipelineServlet.serviceRESTRequest(RestPipelineServlet.java:417)
    at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:260)
    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:320)
    at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:264)
    at atg.rest.servlet.HeadRestServlet.service(HeadRestServlet.java:130)
    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:267)
    From the documentation I understand that I need to create a session, is the session only necessary to access secured components since this
    particular method “ProfileServices.loginUser “ has been declared as not secure in restSecurityConfiguration.xml
    Also, are there two different ways in which I can log in
    1.       Using RestSession.createSession providing the username and password.
    2.       Or using ProfileServices.loginUser or ProfileFormHandler
      Can someone please clarify

    If you are invoking the REST web-service from a Java client then you can create a RestSession object using the createSession method. But in your case you seem to be invoking it with a HTTP request which by default would be treated as a GET request by ATG's REST implementation. Therefore being a GET, it would try to fetch a property "loginUser" from /atg/userprofiling/ProfileServices component (based on your URL) which would always fail.
    To invoke loginUser() method of ProfileServices with your passed argument you need to tell ATG's REST system to treat your incoming request not as GET but as a POST request which you can do using  atg-rest-http-method control parameter in your request like this
    http:localhost:8080/rest/bean/atg/userprofiling/ProfileServices/loginUser?arg1=[email protected]&arg2=Password&atg-rest-http-method=POST
    It should work this way provided your restSecurityConfiguration.xml is proper.

  • Error code 401:"HTTP_RESP_STATUS_CODE_NOT_OK"

    Hi Experts,
    Messages are failed in SXMB_MONI with the Error code 401:"HTTP_RESP_STATUS_CODE_NOT_OK"
    Text message "Unauthorised".
    -->No users was locked & All users are maintaining perfect roles, no password problem.
    2.Messages are processing successfully from Adapter Engine to Integration Engine and after executing all the pipeline steps through XI adapter the messages are sending to receiver successfully (File to XI Adapter)
    3.But in the case of Integration Engine(After executing all the pipeline steps) to Adapter Engine the   messages are failed with the above error code (XI to File Adapter).
    and also can any body tell me what is the JRFC Function module which is executing in between these two.
    Can any body give me the solution ASAP.
    Thanks & Regards
    Sankar

    Hi,
    -->Aroan, I have gone through that OSS note already, we done not have any load on the J2EE engine only 4 interfaces are running.
    -->XIAPPLUSER is maintaining the role, it is J2EE port only. where can i check the port is locked or not.
      I think if port is locked then there is no messages will be processed for any interfaces.
    can any body give me the solution ASAP.
    Regards
    Sankar

  • How do I fix error code 401 - "unauthorized" I am taking an online class and the videos worked before, and now whenever I launch QuickTime, I get that error code.

    I recently began taking an online class. We are required to watch multiple videos. I was able to watch the QuickTime videos before, but now whenever I launch the videos in QuickTime I get the Error code 401. My teacher does not know whats wrong, because I do have authorization to watch the videos, I am just not sure how to go about it.

    You may try updating the same as a standalone download.
    S.Sengupta, Windows Entertainment and Connected Home MVP

  • Problem with error code 401

    Hi I had a problem yesterday with my receiver determination... I had an XICACHE update error along with
    SAP:AdditionalText>Error when reading HTTP destination: INTEGRATION_DIRECTORY_HMI.</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while refreshing the XI runtime cache</SAP:Stack>
    I have since seemed to of solved this problem while using SXI_CACHE and refresh...
    Now we are getting the following...
    <!--  ************************************
      -->
    - <Trace level="1" type="B" name="CL_XMS_PLSRV_IE_ADAPTER-ENTER_PLSRV">
      <Trace level="3" type="T">Channel for adapter engine: RFC</Trace>
    - <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP">
      <Trace level="2" type="T">no values in cache (no lock found) - start reading from SLD</Trace>
      <Trace level="1" type="T">error reading SAP_XIAdapterFramework from SLD</Trace>
      <Trace level="2" type="T">Adapter Framework(s) found</Trace>
      <Trace level="2" type="T">Service Port(s) found - take first one</Trace>
      <Trace level="2" type="T">URL found</Trace>
      <Trace level="2" type="T">Get logon data for adapter engine (SAI_AE_DETAILS_GET):</Trace>
      <Trace level="3" type="T">URL = http://mxavie0:56800/MessagingSystem/receive/AFW/XI</Trace>
      <Trace level="3" type="T">User = XIISUSER</Trace>
      <Trace level="3" type="T">Cached =</Trace>
      <Trace level="3" type="T">Creating HTTP-client</Trace>
      <Trace level="3" type="T">HTTP-client: creation finished</Trace>
      <Trace level="3" type="T">Security: Basic authentication</Trace>
      <Trace level="3" type="T">Serializing message object...</Trace>
      <Trace level="3" type="T">HTTP-client: sending http-request...</Trace>
      <Trace level="3" type="T">HTTP-client: request sent</Trace>
      <Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>
      <Trace level="3" type="T">HTTP-client: response received</Trace>
      <Trace level="3" type="T">HTTP-client: checking status code...</Trace>
      <b><Trace level="3" type="T">HTTP-client: status code = 401</Trace></b>
      <Trace level="3" type="System_Error">HTTP-client: error response= <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Error Report</title> <style> td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active </style> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  401 &nbsp Unauthorized</b></font></td> </tr> <tr bgcolor="#3F73A3"> <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td> <td height="23"><img width=1 height=1 border=0 alt=""></td> <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00 </b></font></td> </tr> <tr bgcolor="#9DCDFD"> <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td> </tr> </table> <br><br><br><br><br><br> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  Authentication did not succeed.</b></font></td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>  Details:</b></font></td> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre>  No details available</pre></font></td> </tr> </body> </html></Trace>
      <Trace level="3" type="T">HTTP-client: closing...</Trace>
      </Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      <Trace level="3" type="T">Persisting message Status = 023</Trace>
      <Trace level="3" type="T">Message version 006</Trace>
      <Trace level="3" type="T">Pipeline CENTRAL</Trace>
      </SAP:Trace>
      </SOAP:Header>
    - <SOAP:Body>
    - <SAP:Manifest xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
    - <SAP:Payload xlink:href="cid:[email protected]">
      <SAP:Name>MainDocument</SAP:Name>
      <SAP:Description />
      <SAP:Type>Application</SAP:Type>
      </SAP:Payload>
      </SAP:Manifest>
      </SOAP:Body>
      </SOAP:Envelope>
    Anyone have ideas as to why this is coming?

    HI,
    Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
    • Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
    • If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
    • If the error is in Adapter Engine
    –then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    • May be wrong password for user XIISUSER
    • May be wrong password for user XIAFUSER
    – 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
    Regards
    Chilla..
    <i>Points rewarded if it is helpful..</i>

  • Error Code 401 - Unauthorized

    I am configured the Flight Agency demo and when I run the 'Check Flight Seat Availability' senario and choose a flight I receive the following error.  HTTP response contains status code 401 with the description Unauthorized.
    I have all the authorizations in the world to run this program on all clients.  I have regenerated the authorizations and the user compares but all to no avail.  I increase the trace level of the HTTP service to the highest level but I do not see any problems.  I check SM20, SM21, ST22 and ST11 work proces trace files and all show no errors.  This issue is really bugging me as I have spent hours on it.

    Hi,
    yes additionally make sure that no user is locked. Make sure in SU01 and also check the administration part of the integration builder. I would also suggest you to double check again whether the passwords in SU01 and exchange profile match exactly. I would suggest to enter these in capital letters.
    Cheers
    Jaime Farinos

  • WRT54G V. 6 error code 401 unauthorized access

    I wanted to upgrade the firmware, because I was having problems getting to the online properties. I did the powercycling and all,  I would get the error 401 "unathorized access" message. I then downloaded the firmware upgrade to my desktop, then went to the browser and typed in 192.168.1.1 and it asked me for the firmware upgrage and to browse where it was. I did so, and it said upgrade successful. Well then what? I waited and nothing. I then restarted my pc. I still have the same problem. I then did the powercycling again and no go. Is there something else I should try?
    Jen

    Disable all firewall & antivirus software on the computer ... Lower down the NIC card speed from Auto to 10 half Duplex ... click ok & close .. Go to Internet Options ... click clears cookie & files ... See if it works or not ...

  • Proxy error 401 HTTP_RESP_STATUS_CODE_NOT_OK

    Hey, PI gurus,
    We used ABAP proxy to send xml messages from our ECC server to our PI server.
    After our PI server was upgraded to PI 7.11 from XI 3.0, I got an error "401 Unauthorized: HTTP_RESP_STATUS_CODE_NOT_OK" in the ECC SXMB_MONI when I tried to send a proxy message to PI.
      <SAP:Stack>HTTP response contains status code 401 with the description Unauthorized Authorization error while sending by HTTP (error code: 401, error text: Unauthorized)</SAP:Stack>
    I got the user from PI->SXMB_IFR->Administration->xchange Profile and added the roles SAP_XI_IS_SERV_USER, SAP_XI_APPL_SERV_USER, SAP_XI_DEVELOPER_J2EE, SAP_XI_ADMINISTRATOR_J2EE to that user but I still got the same error.
    Please help!
    Thanks in advance!
    Fisher

    Koteswara,
    I tested the connection from T code SM59 in ECC. ( LCRSAPRFC, SAPSLDAPI, H type RFC connection XI_INTERGRATION_SERVER).
    Everything looked ok.
    Whereelse can I test the system users if they are not used in the SM59?
    Thanks!
    Fisher

  • Wls 8.1 - error code 302 for unauthorized request - but 401 required

    having the following configuration in my web.xml
         <error-page>
            <error-code>401</error-code>
            <location>/login/error401.jsp</location>
        </error-page>
        <login-config>
            <auth-method>FORM</auth-method>
            <realm-name>myrealm</realm-name>
            <form-login-config>
              <form-login-page>
                 /login/index.jsp
              </form-login-page>
              <form-error-page>
                 /login/index.jsp
              </form-error-page>
          </form-login-config>
        </login-config>I expect that if I request a page not being authorized for, the weblogic server returns the error-code 401.
    But instead the code 302 (moved temporarily) is returned and the user is redirected to the configured login-page (/login/index.jsp).
    What do I need to do, in order to get a 401 errorcode for a form-based authentication?

    having the following configuration in my web.xml
         <error-page>
            <error-code>401</error-code>
            <location>/login/error401.jsp</location>
        </error-page>
        <login-config>
            <auth-method>FORM</auth-method>
            <realm-name>myrealm</realm-name>
            <form-login-config>
              <form-login-page>
                 /login/index.jsp
              </form-login-page>
              <form-error-page>
                 /login/index.jsp
              </form-error-page>
          </form-login-config>
        </login-config>I expect that if I request a page not being authorized for, the weblogic server returns the error-code 401.
    But instead the code 302 (moved temporarily) is returned and the user is redirected to the configured login-page (/login/index.jsp).
    What do I need to do, in order to get a 401 errorcode for a form-based authentication?

  • HTTP response code: 401 for URL suddenly

    I was using 1.4.2_01 and went back to 1.4.1_05 in order to get JACOB to work. (Java Com Bridge) -- to control Microsoft excel, word etc.
    Switching back to 1.4.1 is giving me errors with my URL connections now. I was originally using an authenticator class but now it doesn't work. I even tried to set the connection manually and still no success. Any insight into this one? I reset my classpath and path variables. Hmmmm.... Was there something I had to set to use java.net stuff?
    Connection code:
    Authenticator.setDefault(new TestAuthenticator());
    URL testUrl = new URL(urlString);
    URLConnection yc = testUrl.openConnection();
    BufferedReader in = new BufferedReader(new InputStreamReader(yc.getInputStream()));blah blah blah... Returns error code 401 because I'm not 'authentic' But I have authenticator code:
    import java.net.*;
    import java.io.*;
    class TestAuthenticator extends Authenticator {
       private static String username = "userName";
       private static String password = "passWord";
       public TestAuthenticator() {}
       public PasswordAuthentication getPasswordAuthentication(){
        return new PasswordAuthentication(username,(password.toCharArray()));
    }I just went back and recompiled in 1.4.2 and it works! Why not in 1.4.1?
    Thanks!
    Tom

    Hi,
    Has anyone come up with an answer for this?
    I would also like to ask what would happen if I need to go through a proxy that also requires authentication in the first instance before connecting to the server which needs to autenticate me? Can you use the same autenticator subclass? What if the username/password are different on the proxy and webserver?
    Thanks.

  • Retry on certain HTTP error code ( OSB 10g)

    Hi All,
    I want to retry on service call out when i get Http error code 401 for OSB 10g. But don't want to retry on other type of application error or soap fault.  What is the best way to implement this?  Is there any out of box option to set?
    Regards

    This is not supported as a out of box option but you can easily set this up in OSB. This is what I did in a similar situation.
    PS1( with service callout, in the service callout check for the custom response which is received from PS2, if the custom response has an error code , it means you received an error from service provider else success )----> BS1(intermediate Business service with retry settings )----> PS2(Proxy service which checks the error code from BS2 in the error handler, if the error is 401 then do a raise error or reply with error else do a reply with success. When we do a reply with error in case of 401 error code the BS1 will retry this operation. In case of reply with success send the error code wrapped in a custom response back to PS1 else send back the response from BS2 ,This PS1 cannot be a local proxy service. )----> BS2--> call the service provider.

  • SRM SUS PO response:HTTP response contains status code 401

    Hi,
    While sending the PO response from SUS to mm am getting the error as below in SUS :
    SAP:Stack>HTTP response contains status code 401 with the description Unauthorized
    Authorization error while sending by HTTP (error code: 401, error text: Unauthorized)
    Please advise.
    Thanks,
    Venky

    Hi,
      Is this the error you see when you click on "Send" button from POResponse? Or, does it happen when SUS is trying to send the XML message through PI/XI?
    SG

  • Returning HTTP status codes (401, 403, etc) to Flash 8

    Hi all,
    I'm using AMFPHP on the server-side and Flash remoting
    classes to communicate with it. Everything's working great, but i'd
    like Flash to be able to recieve HTTP status codes from the server.
    For example, if on the server side (in PHP) I go:
    header("Status: 401 Unauthorized");
    I'd like the remoting service on the flash side to be able to
    get the HTTP error code (401 in the example above).
    I know this is possible with
    [url=http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context =LiveDocs_Parts&file=00002333.html]LoadVars.onHTTPStatus[/url]
    but it doesn't seem to deal with using it with Flash Remoting.
    Thanks all :)
    - Nilesh

    Hi, I am trying to PUT to update contact info and I get following error:
    2015-01-16 11:00:17,970 INFO [main] oracle.eloqua.connector.eloqua.EloquaConnector.putWithBasicAuth(97) | accessHttpsPut.url=https://secure.eloqua.com/API/REST/2.0//data/contact/7606838, text={"id":"7606838","accountName":"openIdStr001","emailAddress":"[email protected]","type":"Contact"}
    2015-01-16 11:00:18,931 ERROR [main] oracle.eloqua.connector.eloqua.EloquaConnector.putWithBasicAuth(140) | ClientProtocolException
    org.apache.http.client.HttpResponseException: Request is malformed.
    Is there any idea?
    Thanks so much.
    Sincerely.

Maybe you are looking for

  • Custom abap report on payload

    Hi I want to develop a custom abap report  in XI on the basis of payload. Any clues?????????? Regards Vijay

  • Monitoring changes in Oracle Database with Business Objects

    Hi: I need to know if there is a Business Objects tool that allows me to be constantly checking one Oracle database to see if there are changes. The customer is not permitted to access the database, only has enabled a stored procedure that returns a

  • Position of 'Next' button in Report

    Is there a way of adding a 'Next and 'Previous' button in a 'Report from a wizard' to the top of the resulting data records in addition to the ones below? Cheers, Arnt

  • Add eSATA/USB 2.0 port to Lenovo G560 model 0679?

    I have a Lenovo G560 model 0679 running Windows 7 Home Prem. 64 that does not have the shared eSATA/USB 2.0 port.  Can I buy parts to convert to this version?

  • Resolution of episodes on Nano

    I'm importing Keynote presentations in to Garageband to save them as enhanced podcasts for students to view my class presentation when they've been absent. I began exporting my keynote presentations as image files, then entering them one by one in Ga