cancel
Showing results for 
Search instead for 
Did you mean: 

[BTP Build Work Zone] Facing error in console after deploying Fiori application

AvaneeshPEOL
Explorer
490

I am getting the following console error after deploying my application to the SAP BTP Build Work Zone Standard Edition. I am using a trial account.

I am not sure what I have to do, I have tried changing the manifest dependency libraries' lazy to true, but that gives me "unsafe eval" errors so i'm confused as to what the problem is here.

 

2024-07-20 20:28:08.229899 The issue is most likely caused by application usertest. Please create a support incident and assign it to the support component of the respective application. - Failed to load UI5 component with properties: '{
    "name": "usertest",
    "url": "/971e38f5-943b-40df-acee-b48fc9e25326.roles-test.usertest/~200724145334+0000~/",
    "manifest": true,
    "asyncHints": {
        "libs": [
            {
                "name": "sap.fe.core",
                "lazy": false
            },
            {
                "name": "sap.fe.templates",
                "lazy": false
            },
            {
                "name": "sap.m",
                "lazy": false
            },
            {
                "name": "sap.ui.fl",
                "lazy": false
            }
        ],
        "components": [],
        "waitFor": []
    },
    "messages": [],
    "version": "0.0.1",
    "id": "application-UserTest-display-component",
    "componentData": {
        "startupParameters": {}
    }
}'. Error likely caused by:
Error: Could not load metadata: 404 error
    at Object.createError (https://sapui5.hana.ondemand.com/1.126.0/resources/sap/ui/core/library-preload.js:2316:3817)
    at Object.<anonymous> (https://sapui5.hana.ondemand.com/1.126.0/resources/sap/ui/core/library-preload.js:2328:873)
    at Object.<anonymous> (https://sapui5.hana.ondemand.com/1.126.0/resources/sap/fiori/appruntime-min-1.js:556:9596)
    at u (https://sapui5.hana.ondemand.com/1.126.0/resources/sap/fiori/appruntime-min-1.js:602:25639)
    at Object.fireWith [as rejectWith] (https://sapui5.hana.ondemand.com/1.126.0/resources/sap/fiori/appruntime-min-1.js:602:26474)
    at k (https://sapui5.hana.ondemand.com/1.126.0/resources/sap/fiori/appruntime-min-1.js:602:84147)
    at XMLHttpRequest.<anonymous> (https://sapui5.hana.ondemand.com/1.126.0/resources/sap/fiori/appruntime-min-1.js:602:86804) usertest

Edit: i've inserted the photo of the error itself, basically the same thing as above

 

Capture.PNG

sefa_dagasan
Discoverer
0 Kudos
Did you solve it?
View Entire Topic
AvaneeshPEOL
Explorer

i'm afraid not, this seems to be somewhat of a hit or miss with CAP deployment, when i created a fresh CAP project with the same code and deployed, it seems to work.

LucasMagriniRigo
Explorer
0 Kudos
I'm facing the same issue. It loads fine on the HTML5 Applications from the BTP Cockpit, but not through the Work Zone launchpad.