cancel
Showing results for 
Search instead for 
Did you mean: 

Error "Error building cloud application deploy model" when deploying to SAP BTP CF

UxKjaer
Product and Topic Expert
Product and Topic Expert
1,101

Hello experts,

I was hoping someone would know how to resolve this error. I am getting it when I"m trying to deploy my CAP project.

I can't see anything in the cf logs or in the instance logs. But it fails to deploy.

I've tried deleting all services and updating my package dependencies without any help.When I download the logs from CF, I can't even see the error.

View Entire Topic
UxKjaer
Product and Topic Expert
Product and Topic Expert

Figured it out today. It's was what we in Danish call an error 40. I had forgot an m when setting the size of memory for one of the services. Wished it would have been caught in some sort of validation though.

Erroneous entry below. Should have been memory: 256m

parameters:

disk-quota: 2048M

Keep-existing-routes: true

memory: 256

gregorw
SAP Mentor
SAP Mentor
0 Kudos

Do you have a Web IDE at hand? According to YAML Validation it does "YAML files, such as MTA descriptors (mta.yaml), are automatically validated as you edit.". But I guess it's only about correct spaces and not about the content.

I think https://github.com/SAP/cloud-mta should allow validation. Unfortunately no example for the cli usage for validation is given.