cancel
Showing results for 
Search instead for 
Did you mean: 

Error returned from XSA:Service broken error. service instance '****' not found

former_member585658
Participant
0 Kudos

Hello SAP!

🙂 I was experimenting to build a full-stack app on cloud foundry . when i build the initial cds file it states the build is success but Error returned from XSA:Service broken error. service instance '****' not found.

Attaching pics

error2.png

MTA-YAML

ID: cf_hrm_sap
_schema-version: '3.1'
description: Human resource modules from Ashlin Gabriel
parameters:
   deploy_mode: html5-repo
version: 0.0.1


modules:
 - name: cf_hrm_sap_appRouter
   type: approuter.nodejs
   path: cf_hrm_sap_appRouter
   parameters:
      disk-quota: 256M
      memory: 256M
   requires:
    - name: rt_cf_hrm_sap_appRouter




 - name: cf_hrm_sap_ui_deployer
   type: com.sap.html5.application-content
   path: cf_hrm_sap_ui_deployer
   requires:
    - name: dt_cf_hrm_sap_ui_deployer




 - name: dbmodule
   type: hdb
   path: dbmodule
   requires:
    - name: hdi_dbmodule


resources:
 - name: rt_cf_hrm_sap_appRouter
   parameters:
      service-plan: app-runtime
      service: html5-apps-repo
   type: org.cloudfoundry.managed-service


 - name: dt_cf_hrm_sap_ui_deployer
   parameters:
      service-plan: app-host
      service: html5-apps-repo
   type: org.cloudfoundry.managed-service




 - name: hdi_dbmodule
   parameters:
      config:
            schema: HRM
            database_id: 'dev'
   properties:
      hdi-container-name: ${service-name}
   type: com.sap.xs.hdi-container


Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert

Have you tried adding the HDI instance again in the Database Explorer? It might be that the error refers to an old instance.

former_member585658
Participant

it wasnt the old instance, it was the issue with Yaml file as sergio pointed out . thanks Ivan

Accepted Solutions (1)

Accepted Solutions (1)

SergioG_TX
Active Contributor

remove the service.. and re-add..

try to edit the MTA.yaml file only on the graphical editor.. the code editor is very sensitive to spaces, tabs, etc

Answers (2)

Answers (2)

former_member585658
Participant
0 Kudos

@Sagar R Jadhav first delete service instances and then check if you have valid MTA file . this should resolve your issue Sagar.

former_member585658
Participant
0 Kudos

It worked thanks Sergio Guerrero

SergioG_TX
Active Contributor
0 Kudos

good to hear!

0 Kudos

Hi Gabriel,

I too am facing the same error.

I tried deleting and re-adding the resources section (representing services), but I'm still getting the same error.
Can you please help me understand what exactly did you delete and re-add.

Thanks,
Sagar J.