SAP HANA XS Advanced 2.0 - "Failed to resolve reference for provided property"

Jan 05, 2017 at 02:18 AM


avatar image

Dear experts,

I did the "tinyworld" example from the XSA Developer Guide. I'm stuck at the point where the HTML5 page should output oData provided data. All steps before worked. I also pulled the GITHub source to make sure I made no mistake with the same error. I refer to pages 37-38 in the Guide.

Error message when running the UI as a Web Application is:

{"message":"Failed to resolve reference for provided property: 4adc2083-699c-4a77-8074-1bdbe59c8257-eow0on9bphymhtzt-tinyworld#tinyjs_api#service_url"}

Now I have no idea anymore what I should check - I somehow thing this could be rather a setup issue than a source code problem?


10 |10000 characters needed characters left characters exceeded

Hi Gunter,

js-server started at first?

Maybe you missed the MTA entry:

provides: - name: tinyjs_api properties: service_url: ${default-url}

Good luck!

* Please Login or Register to Answer, Follow or Comment.

5 Answers

Dirk Raschke Jan 05, 2017 at 01:43 PM

And I found this videos from the HANA Academy helpful:


Maybe it helps you to.:)

Show 1 Share
10 |10000 characters needed characters left characters exceeded

I did not see any relationship between the question and the answer.

Susumu Honna
Feb 22, 2017 at 02:42 AM

I had encountered same issue in HANA2.0 and found the solution. I think the development guide is old so that it is written based HANA1.0 SP11. With HANA2.0, XSA change the Port-based routing from host-based routing, so you need to map the port between tinyui and tinyjs application using following command.

1. Check the currently XSA route information.

# xs routes

2. Mapping the route between tinyui and tinyjs port.

# xs map-route <your tinyjs app name> -p <your tinyui port#>

3. Access the tinyui application (~/index.html), tinyui application may work fine.

* In case of my environment, tinyui worked fine to unmap route after step 3. I think routing function has still some bug.

Please refer the following link in detail.





10 |10000 characters needed characters left characters exceeded
G. Cazemier Dec 26, 2017 at 06:03 PM

In my case I had to start the tinyjs application. After that, the tinyui application was able to start.

10 |10000 characters needed characters left characters exceeded
Stefan Porges Mar 10 at 03:05 PM


was anyone able to solve this problem? I'm running in the same error (Hana Express 2.0). Tried also the provided xs map-route hint, but this does not fix the problem for me.

Can anyone help, thanks in advance


10 |10000 characters needed characters left characters exceeded
Rajendranath Rengan N
Mar 15 at 05:04 PM

Replacing url: ~{service_url} with url: '~{url}' in mta.yaml file (ui module, dependency section) solved the issue

10 |10000 characters needed characters left characters exceeded
Skip to Content