cancel
Showing results for 
Search instead for 
Did you mean: 

Visual Studio code fiori application deployment fails with status code 500

Y_D_ABAPER
Explorer
0 Kudos
236

Hi, I have a fiori list report that I have created in visual studio code using the fiori generator. I have already connected and configured it to my on-premise (demo21) SAP system. When running "npm run start" the app works as intended. However, when trying to deploy I run "npm run deploy" in which asks me for my credentials, after specifying the credentials I get the following error as seen below:

Screenshot 2025-01-22 140656.png

The target system URL that I have used is from going to transaction SMICM>Go to> Services and is in the form of https://abcdefg.mydomain.com:PortNumber
my ui5.yaml file is as below:
ui5yaml.png

 

 

 

 

 

 

 

 

and my ui5-deploy.yaml is as follows:

ui5deploy.png

 

 

 

 

 

 

 

Running in debug mode produces the same result and I have followed similar steps detailed in Solved: Problems launching first Fiori App - SAP Community Can someone please advise?

View Entire Topic
MioYasutake
Active Contributor
0 Kudos

@Y_D_ABAPER

500 error means something went wrong in the backend. Did you check logs such as ST22?

Y_D_ABAPER
Explorer
0 Kudos

Hi all, thank you for the replies but I was able to fix it by following the below steps:

  1. Navigate to transaction /n/IWFND/MAINT_SERVICE.
  2. Under ABAP_REPOSITORY_SRV change the processing mode from "co-deployment only" to "routing based" and add a system alias such as "LOCAL".
  3. Thereafter head back to VS Code and run ui5 build then npm run deploy and it should work