on 2024 Jul 31 2:32 PM
Hello everybody,
Could you someone assist me with this error.
Case: I'm consume external odata in my CAP project. When i get the entities, it return this error.
Error: Error during request to remote service: Failed to load destination.
Best regards,
Angel
What Gregor says.
You have no destination service bound to your cap app. Look at this repo as example for the config: https://github.com/lemaiwo/ReCAPBTPServiceOverview/blob/main/mta.yaml
At line 28 the destination service is bound to the cap app which is instantiated at line 90
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Wouter, I notice my approuter instance, for instance propagate my user, but my service instance being not done. I'm trying to connect approuter instance by destination, it cloud not work. My context is that I build my CAP and UI5 apps separate. Moreover I connect these apps using OAuth2ClientCredentials throught destination using the url povides from Approuter instance but it returns 401 when i test my destination. When I use url provides from service instance the conenction is work, but no propagate my user.
Service Instance destination
It returns entities.
testing url provide from instance return 401.
Approuter Instance destination
No load nothing.
testing url provide from instance return data.
Do you have any idea to connect CAP and UI5 by separate using destitination?
User | Count |
---|---|
57 | |
11 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.