4 weeks ago
I am a beginner in CAP and using destination, but I keep encountering errors. I have already configured the destination in Cockpit, and the connectivity test works fine. However, when I try to connect using code, I keep getting the following error. Could you please tell me what step is missing in this binding?
Request clarification before answering.
Hi,
This usually means your application is not correctly bound to the Destination service on BTP. Please ensurepackage.json has an entry for the destination "test" in the following under cds.requires
"cds": {
"requires": {
"test-destination": {
"kind": "rest",
"credentials": {
"destination": "test"
}
}
}
}
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
22 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.