I have created a function in my CAP model as below.
action updateDefaultBin(defaultRetireBin: String);
This action works fine. However I wanted to add the language url parameter 'sap-language' as specified here. The action fails with the error below. All other urls of the CAP app work fine with the sap-language parameter.
"message": {
"lang": "en",
"value": "Deserialization Error: 'sap-language' is not a non-binding parameter of action 'updateDefaultBin'."
},
Is this a bug?