Symptom
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>.hana.ondemand.com/services'"
or
"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"
or
Connection to XXX established. Response returned: "404: Not Found"
Read more...
Environment
SAP Cloud Platform, Neo environment
Product
Keywords
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.