SAP Knowledge Base Article - Preview

2548392 - 401 Unauthorized response when connecting BTP with backend system using Basic Authentication


  • There is a connection between SAP BTP (Cloud Integration) and an SAP NetWeaver AS ABAP system through SAP Cloud Connector (SCC) via HTTP/HTTPS.
  • The authentication in the backend system is performed using Basic Authentication (user & password).
  • A request sent to the backend returns with HTTP Status 401.
  • In case of CPI, the log shows the following error:

org.apache.cxf.interceptor.Fault: Could not send Message., cause: org.apache.cxf.transport.http.HTTPException: HTTP response '401: Unauthorized' when communicating with [backend URL]



  • SAP Cloud Connector
  • SAP NetWeaver Application Server ABAP


SAP Connectivity service all versions


Hana Cloud Integration, hci, cpi, wrong credentials, logon procedure, client certificate, authentication, SSC, ICM, ICF, SICF, SAML, 2.0, icm/HTTPS/verify_client, STRUST, SSL Server standard view, RZ11, RZ10, TLS trace, certificate request, no suitable certificate found, outbound, receiver, basic , KBA , scp , sap cloud platform , BC-MID-ICF , Internet Communication Framework , BC-CST-IC , Internet Communication Manager , BC-SEC-LGN , Authentication , BC-MID-SCC , SAP Cloud Connector On-Demand/On-Premise Connectivity , LOD-HCI-PI-RT , Integration Runtime , BC-NEO-CON , Neo to On-premise Connectivity service , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.