Skip to Content
0
Sep 15 at 08:57 AM

Deployed Analytical List Page app is blank and metadata failed to load

238 Views

The ALP app works great in local environment but I'm having trouble getting the cloud deployed app to work.

I get a blank page with just the SAP header bar with app name and search box at the top. In the browser network tab, I found one error saying "Internal Server Error" when trying to load the metadata for the page. When I look at the service in BTP, I cannot find any logs related to the error. There are no service logs recorded when opening the app from the launchpad.

Request URL: https://########trial.launchpad.cfapps.us10.hana.ondemand.com/563fa2d7-ffff-cccc-9d8b-b1de2b279990.myservice.viewentities/~150922064648+0000~/v2/entityservice/$metadata?sap-value-list=none&sap-language=EN
Request Method: GET
Status Code: 500 Internal Server Error

The cap app has a `server.js` file that loads the `@sap/cds-odata-v2-adapter-proxy`.

const port = process.env.PORT || 4004;
const proxy = require('@sap/cds-odata-v2-adapter-proxy');
const cds = require('@sap/cds');
module.exports = cds.server;

cds.on('bootstrap', app => {
    app.use(proxy({ port: port })); //OData V2
});

I'm not sure how to troubleshoot this. I tried created the ALP from scratch a second time and had the same issue.

Technical Information Dialog

SAPUI5 Distribution: 1.106.0 (built at 07.09.2022 12:41:00)
OpenUI5 Version: 1.106.0 (built at 06.09.2022 13:42:00)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
App URL: https://########trial.launchpad.cfapps.us10.hana.ondemand.com/cp.portal/ui5appruntime.html?siteId=f98630db-b0b7-4d52-96e3-02c81edf235b⊂accountId=1041b58e-ad26-497a-9f95-3e3b8418aa79&saasApprouter=true&sap-ui-app-id=viewentities⪰nario=LAUNCHPAD&sap-startup-params=sap-ushell-defaultedParameterNames%3D%5B%22sap-ushell-navmode%22%5D&sap-shell=FLP&sap-touch=0&sap-ui-versionedLibCss=true&sap-plugins=RTAPluginAgent&sap-theme=sap_fiori_3&sap-locale=en&sap-iframe-hint=UI5#Entities-view?sap-ui-app-id-hint=saas_approuter_viewentities