SAP Knowledge Base Article - Preview

2876491 - Check Connection of destination with authentication type OAuth2SAMLBearerAssertion fails


When testing a destination with authentication type OAuth2SAMLBearerAssertion or OAuth2UserTokenExchange in the SAP Cloud Platform Cockpit, the check fails with the following error:

Unexpected Token Service response code. Token Service error response: "The issuer of the received SAML2Assertion is not a trusted Identity Provider. There is no configuration for IdP '<region>'"


"Unexpected Token Service response code. Token Service error response: "Error determining metadata contracts". Check the configuration or contact Token Service owner." Received status code: "401"


Connection to XXX established. Response returned: "404: Not Found"



SAP Cloud Platform, Neo environment


SAP Business Technology Platform all versions


scp hcp sap cp oauth oauth2 saml bearer OAuth2SAMLBearerAssertion, OAuth2UserTokenExchange, destination, OAuth2ClientCredentials, 404, 404 Not Found , KBA , BC-CP-DEST-NEO , Destination service for Neo environment , 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.