You face error "The Data Services Request could not be understood due to malformed syntax" or "Unknown error. Please check the metadata and try again!" when performing a DeepInsert for Survey Odata Collection.
SAP Cloud for Customer
Reproducing the Issue
- Navigate to Administration Work center.
- Enter Odata Service Explorer view.
- Search for Service c4codataapi and click on Test.
- Select a Survey Entity, for example “SurveyResponseItemCollection”, and go to Test tab.
- Change the function to “DEEPINSERT” and pass the payload.
- Click on Execute.
Deep insert is not supported for survey entities.
As a workaround, it can be used POST method for each entity step by step.
Survey, DeepInsert, Deep, Insert, Malformed, Unknown error, Odata , KBA , LOD-LE-SUR-DEF , Survey definition = design time , How To