SAP Knowledge Base Article - Preview

3189289 - 'Unexpected response code from OAuth token service' error in SAP Cloud Integration

Symptom

You are trying to connect to SuccessFactors (from SAP Cloud Integration) using HTTP adapter and Oauth authentication, but you are getting the error below:

  • java.lang.IllegalArgumentException: Unexpected response code from OAuth token service 'https://apiX.successfactors.com/oauth/token' Response code: 401 Content Type: application/json Response Body: {"errorHttpCode":"401","errorMessage":"Unable to verify the signature of the SAML assertion"}, cause: com.sap.core.connectivity.apiext.impl.authentication.assertion.oauth.OAuthServerResponseCodeException: Unexpected Token Service response code. No response body was returned by Token Service


Read more...

Environment

  • SAP Integration Suite
  • Cloud Integration

Product

Cloud Integration all versions ; SAP Business Technology Platform all versions ; SAP Integration Suite all versions

Keywords

Cloud Integration, SAP Integration Suite, SAP Cloud Platform Integration, Cloud Platform Integration, SAP CPI, CPI, SCPI, HANA Cloud Integration, HCI, SAP HCI, tenant, iFlow, Integration Flow, SF, Oauth, Token, Sucess, Sucessfactor, Sucessfactors, Factor, Factors, HTTP Adapter, HTTP, Service
, KBA , LOD-HCI-PI-CON-OD , OData Adapters , 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.