2024 Sep 05 2:12 AM
Full disclosure: Very experienced developer, but totally new to this product.
I am following the steps for Develop an App for SAP Build Work Zone, standard edition with Your Own Dev Tools.
I am on this page. When I perform the steps to deploy the application, I am getting the following error when it goes to create the destination service: Service broker error: Service broker destination-service-broker failed with: Service broker parameters are invalid: Destination name: contains invalid character.
What I believe is the relevant section of the mta.yaml file is as follows:
2024 Sep 05 2:26 AM
as very experienced developer, did you ever read the error msg?
2024 Sep 05 6:54 AM
Why don't you give your destination a name? How would you expect to use a destination without a name?
2024 Sep 05 3:55 PM
#1, the code was generated automatically during the tutorial.
#2 if, as I assume, I provide a name under destinations:, I get exactly the same error.
Al
2024 Sep 05 4:15 PM
In Step 4 Create a new destination I can see that the destination is created manually. So it seems that the Instance destination in your mta.yaml was added by one of the yeoman generator steps. Have you tracked the steps with git commits? So you could find out. I would suggest that you remove everything starting at config. Maybe @nicoschoenteich can have a look here and do adjustments to the tutorial.
2024 Sep 06 3:59 PM
There was a recent change in the easy-ui5 project generator, more specifically the model subgenerator, as it can now add a destination and route (xs-app.json) for new data models automatically. We don't want this for this tutorial mission, as we add the route manually and create a manually added subaccount level destination. So when prompted to set up a route and destination as part of "yo easy-ui5 project model", say no. I will update the tutorial accordingly.
I will also update the easy-ui5 generator so that the destination name can't be empty 😅
2024 Sep 06 4:07 PM
2024 Sep 10 1:23 AM
Thanks for the answers (except one). If I am understanding correctly (no guarantee) there is now a problem with the tutorial here in Step 5 as the route is now missing?