cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment of html5 application content failed on cloud foundry while deploying the mta app

Ranjith
Participant
9,574

Hi All,

I'm tring to deploy HTML5 application on cloudfoundry environment as a MTA app. But i'm getting error sating that

"Deployment of html5 application content failed [Deployment Id: deploy-d3d05030-e769-22ea-8c5f-eeee0a910db3] Error: Error while uploading resources to Server; Status: 400 Response: "Upload application content failed { CODE: '1001' } validation error: Application metadata for application Zsample already exists in service instance f81654d4-8c89-48f4-a0a3-591ad7a378aa".

So i refered below attached screenshot from one of the SAP Cloud foundry PDF and undeployed/deleted the Apphost service instance of my mta project by using the Cloud foundry cli command "cf undeploy {mtaprojectname} --delete-service --delete-service-key" and successfully deleted it.

But, again when i try to deploy the application i'm getting the same error.

Thanks and Regards,

Ranjithkumar Ayyavu

View Entire Topic
jhodel18
Active Contributor

Hi Ranjithkumar,

It sounds like the issue is in your generated object files during build execution. Clean up the resources folder that was created in the previous build and do a fresh build and deploy.

ui-deployer
 |
 -- node_modules
 -- resources      <-- delete this
 package.json
Ranjith
Participant

Hi jhodel,

I don't have any resources folder inside the ui-deployer module. I have only two modules.

1. Package.json

2. Che folder (project.json)

Can u help where I exactly need to do the changes.

ui-deployer
 |
 -- package.json
 -- che
     |
     -- project.json
jhodel18
Active Contributor
0 Kudos

Then that means you are using SAP WebIDE. If you are using SAP BAS or VS Code then you can see the resources folder, but that's not the case with SAP WebIDE. But I guess you have no choice but to delete the whole project folder and load it again to SAP WebIDE (i hope you have backup from a Git server).

Or much better, try to migrate into using SAP Business Application Studio or VS Code.

SaranyaSampath
Participant
0 Kudos

Hi,

I am also facing the same issue while deploying application from Business Application Studio into cloud foundry. Deleting deployed application and service keys , service instances didn't work.

deleted resources folder . But still not working.

Any solution?

Thanks in advance

Saranya

Girish_Kumar_Gu
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi saranyasampath

Were you able to fix the issue? I am facing the same and all given suggestions haven't worked so far.

john10
Discoverer
0 Kudos
Thank you so much!