on 2025 Jan 27 7:18 PM
I'm studying CAP and I'm getting an error when calling the POST Method.
[cds] - ❗️Uncaught TypeError: target.keys is not iterable in calculateLocationHeader (/home/user/projects/first-project/node_modules/@sap/cds/libx/odata/utils/index.js:284:35) in /home/user/projects/first-project/node_modules/@sap/cds/libx/odata/middleware/create.js:76:31 in process.processTicksAndRejections (node:internal/process/task_queues:95:5)
My Entity
Request clarification before answering.
add a key to your entity. The easiest would be to use the aspect cuid.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.