Skip to Content
2
Apr 22, 2020 at 08:04 AM

Issues with Principal Propagation from Neo to Cloud Foundry

900 Views Last edit Apr 22, 2020 at 08:14 AM 3 rev

I’m wondering if anyone has any tips for how to connect Neo applications to Cloud Foundry applications that share the same SAP IAS tenant? I have gone through this documentation https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/6e194f8e919a40bab7e39cd992677cb7.html# a few times and still keep getting this error message

Failure reason: "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"

I did not set up a java app on the Neo side, rather I am deploying a UI5 app and then trying to call my CDS odata service via the configured destination, but I am getting that error even before consuming the CF service in Neo. I'm getting it when I hit "check connection" in the neo destination setup. Any advice?