Skip to Content
avatar image
Former Member

Response Code HTTP/1.1 401 Unauthorized

Hi,

I am trying to connect SAP Customer & Contacts app via NW GW.

When i am trying to connect from Device, i am getting HTTP/1.1 401 Unauthorized response code in the SUP logs.

I'd like to mention here, that i have created the RFC connections between NW GW <-> SAP ERP using same username, but in the RFC connections logon & Security tab i selected "Trust relationship" as NO because after setting the trust relationship as YES the authorization test gets failed & i gets "No Authorization for user error code 0".

Currently, i set Trust Relationship as NO & that's why the Authorization Test getting successful.

Please Suggest.

Regards,

Shrikant

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 10, 2013 at 07:22 AM

    Hi Shrikant,

    Did you tried getting data from RESTClient directly using same credentials which you are using in the application?

    Regards,

    Abhishek Joshi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Abhishek,

      These entries are already there in NW GW System in the SERVICES file.

      sapmsKDG3600/tcp# SAP System Message Server PortsapmsKD13601/tcp

      Still i am getting the same error.

      Regards,

      Shrikant

  • avatar image
    Former Member
    Jan 18, 2013 at 12:32 PM

    Hi Shrikant,

    To resolve 401 Unauthorized error, check if you have assigned proper roles and authorization for the RFC user in your ERP system.

    Regards

    Shanthosh

    Add comment
    10|10000 characters needed characters exceeded