on 09-22-2021 8:35 AM
Hi experts,
we have an angular app deployed in BTP, and we are currently using the app router as middleware to communicate with the S4HANA system, so we have added the destination in BTP and add the same in the routes and so it worked fine
s4hana.jpg
now we want to connect with the SAP C4C system as well, so we created a destination for SAP C4C in BTP and tried to add in the routes
but after we add the route and deploy the app route does not work, it throws error
Can you please tell if this is the right way to add the destinations to the routes in xs-app.json?
are we missing any steps?
can you please help
Thank you,
Kishore
Hi,
the problem is that the first route matches all incoming traffic. In other words, the regex of the first route includes the regex of the second route. You can find the documentation of the approuter here.
The solution is to make the first route less generic so that it's distinct from the second route.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
65 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.