cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Cannot get/ error after deploying SAP BTP project.

AMAN_CHOUDHARY09
Explorer
0 Kudos
955

Hii everyone , 
i am writing this post becuase i am getting a unexpected error on my project after deployment on cloud foundry

Screenshot (4).png this is my ui after doing  cds watch profile but when i deploy this on cloud foundry i am getting  and error 

https://d6477c92trial-dev-hanaapp-srv.cfapps.us10-001.hana.ondemand.com/

Cannot GET /

 

AMAN_CHOUDHARY09_0-1725010062401.png

but when i want inner data it provide me 
https://d6477c92trial-dev-hanaapp-srv.cfapps.us10-001.hana.ondemand.com/odata/v4/its-customer/custom...Screenshot (7).png

 

when i seach the issue i get this >-----{The root URL ("/") might not be defined in your service.}

so how i can solve this issue and what file i need to upload here so All You can help me to  resolve this issue.

View Entire Topic
AMAN_CHOUDHARY09
Explorer

Hello everyone I found the solution to this error. I follow  this tutorial

 First use this command >cds add hana,mta,xsuaa,approuter --for production

I update my package.json by following this tutorial

https://developers.sap.com/tutorials/cap-service-deploy.html


Juan_Torres
Discoverer
Thank you!
AMAN_CHOUDHARY09
Explorer
0 Kudos
You're welcome.
bjemna
Explorer
0 Kudos
Hello , thank you for sharing this solution I dont have the error cannot get anymore but when I want to launch fiori preview I get internal error , same thing if I want to launch the fiori app based on the cap project I always get the error "Internal Error" Can you help please? Best regards, Emna