Skip to Content
0
Feb 11, 2022 at 02:22 AM

CAP Multitenancy Connectivity

1291 Views

Hi Experts,

I have developed a CAP NodeJS multi-tenant (based on SAP HANA Academy yeoman generator) app that require certain services from on-premise system. The app runs perfectly in multi-tenant mode when using destination service (via internet and uses basic authentication) to connect to external service. Now, I need to run the destination service with connectivity service. The on-prem system is added to the tenant subaccount's cloud connector, changed the destination service proxy type to 'on-premise', added connectivity service to mta.yaml file of app and linked it to the app-srv application(from which the external service is called). But unfortunately it raises an error as below:

'Error during request to remote service: Failed to load destination. Caused by: Failed to add proxy authorization header - client credentials grant failed! Caused by: Could not fetch client credentials token for service of type "connectivity". Caused by: Request failed with status code 401'

image.png

How can I solve this issue or am i missing something?

Many thanks,

Jerin Jacob

Attachments

image.png (374.6 kB)