on 02-26-2020 6:11 PM
Hi @all,
I'm just playing with CAP Node.js flavour and Fiori Elements when found that if in my project folder I have something to render in the APP folder even the simplest GET requests goes wrong.
{
"error": {
"code": null,
"message": "Expected current segment '' to be '$count', '$ref', or a bound operation"
}
}
and if I delete that folder all HTTP requests goes ok.
For sure I'm doing something wrong in the APP folder while playing with FioriElements but the thing is that I could understand having some error while rendering the FioriElement's app BUT, why having this problem with just a GET request?
Does anybody know why? I got stucked digging at the schemas and DB's part when the problem is not there 🙂
Your app folder contains an index.cds which I assume is somehow influencing the service model. Not sure why you need an index.cds in the app folder, unless you use it for adding annotations.
Can you
1. With the app folder "active" open localhost:4004 in browser to see what entities are actuallybeing served and also check the $metadata
2. temporarily remove the index.cds, compare with 1. and see whether the error is still there?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
8 | |
8 | |
8 | |
7 | |
6 | |
5 | |
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.