If the destination is omitted, the runtime looks for a destination with the name of the configured data source.
But my sample project controller-api that I have to deploy to a HANA XSA returns the following error:
(9223372036854775784)[1583215124568][APP/9-0] ERR [ERROR] In production mode it is required to set `options.destination`
(9223372036854775785)[1583215124568][APP/9-0] ERR at new RestClient (/node_modules/@sap/cds-rest/lib/client/Client.js:67:13)
when I leave out the destination in the package.json. With the following configuration the destination is at least called:
Hello CAP Team,
the documentation Configuring Required Services - For HTTP-Based Consumption states:
But my sample project controller-api that I have to deploy to a HANA XSA returns the following error:
when I leave out the destination in the package.json. With the following configuration the destination is at least called:
Best regards Gregor