Skip to Content
Dec 15, 2020 at 11:22 AM

A route requires access to service but the service is not bound

414 Views Last edit Jun 24 at 04:09 PM 2 rev

My name is Jose and I am a colleague for NSC Portugal. I am working on a solution for a client where we aim to make an enhancement to the Asset Intelligence Network (AIN) documents application (aka manageattachemnts). And I got stuck with an issue [Format validation failed (A route requires access to html5-apps-repo-rt service but the service is not bound].

To achieve this solution we need to consume the AIN resources, in our specific case the Asset Central Service and the SAP Asset Intelligence html5 runtime service. There is an example on how to achieve this using web ide:

I tried different solutions both using web ide and Business Aplication Studio (BAS).

In both web-ide and BAS (both locally and when deployed) the error is always the same:

I tried all possible variations of these files, even stupid things like setting the services as destinations, locally using both the bas for binds and making them "by hand".

This is the mta.yml for the app-router:

This is showing the local-env (for local testing), the with the routes to the mentioned services plus the xsuaa for the authentication.


This are the two services from AIN that are deployed in the account:

Both the local bind, as the bind by the require mta.yml, as the bind in the cockpit “by hand”, give the same error. I have already exchanged routs between the two's the app-router and uimodule and even with both. I tried all possible variations of for authentication. This is all at BAS. Even on the web-ide when running the app that is generated every time, the error when we run the application it is the same.

Below is some of the documentation I followed and similar erros and solutions that I have found and tried.

Integration with HTML5 Application Repository:

Resolution of the same error in BAS, (I never get it to work) [locally]

Latest sap answers latest with the same error:

Same error but with destinations:

I tried all their examples step by step, even tried to generate new applications with just a bind to the service etc. The only thing that occurs to me is that these services may not be well configured and may not accept binds from applications that are not in the same repo or something.
If you have any idea on a possible solution I would be really grateful.

Thank you,

José Medeiros


lk4xj.png (5.5 kB)
adtav.png (17.5 kB)
yuajj.png (75.7 kB)
zehly.png (93.2 kB)
9glja.png (59.9 kB)
s34l0.png (59.9 kB)
npaq4.png (59.9 kB)
m7o24.png (93.2 kB)
hlqdr.png (59.9 kB)
yoimy.png (93.2 kB)