cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CAP can't bind hdi container

Dogan
Participant

Hi guys,

i created a cap project and wanted to create and bind an hdi container.

I can log in to the cf but when i click on the bind symbol nothing happens.

I always see the message: "checking your connection to Cloud Foundry..." but after that nothing happens.

I am logged in to the cf and can create a service manually. But somehow the binding doesn't work.

Does anyone know the cause of this?

Thanks and regards,

Cemre

gurkanyilmaz
Explorer
0 Kudos

Can you try to delete all .env files in your project folders including the one in db folder and try again?

View Entire Topic
Dogan
Participant

The path in the mta.yaml wasn't correct. I had to delete the "gen" part from "gen/db" and "gen/srv"

gregorw
Active Contributor
0 Kudos

Hi Cemre,

changing the mta.yaml shouldn't be the solution as this would mean that for the production build you would not use the generated artifacts. Especially the srv part will then not use the generated csn.json. I think you should investigate further. Can't help here too much as I use VS Code locally.

CU
Gregor

Dogan
Participant
0 Kudos

Hi gregorwolf,

i get your point and agree with you, but the "solution" i mentioned, i got that from SAP via Ticket.

I don't really know why but thats the situation 🙂


Regards,

Cemre

gregorw
Active Contributor
0 Kudos

I would suggest to reply in the SAP Ticket and ask for clarification via the CAP team.