Skip to Content
Sep 15 at 08:57 AM

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


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:$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/ Safari/537.36
App URL:⊂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