SAP Knowledge Base Article - Preview

3266490 - OAuth 2.0 authentication fails intermittently with statusCode: 401


You have configured an IFlow with HTTP receiver adapter with authentication method OAuth2 Client Credentials on your Cloud Integration tenant. You experience that the the majority of the calls are working fine, but the call(s) close to the token expiry are failing with:

org.apache.camel.component.ahc.AhcOperationFailedException: HTTP operation failed invoking <target url> with statusCode: 401



  • SAP Cloud Integration
  • SAP Integration Suite


SAP Business Technology Platform all versions


Cloud Platform Integration, CPI, Integration suite, SAP HCI, SAP CPI, SCPI, 401, HTTP, token, token expiry , KBA , LOD-HCI-PI-CON-HTP , HTTP Adapter , 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.