SAP Knowledge Base Article - Public

2596236 - Error Message "The Data Services Request could not be understood due to malformed syntax" when creating ticket via OData

Symptom

When you create a new ticket with KUT date field via OData, you receive below error:

"The Data Services Request could not be understood due to malformed syntax"

Environment

CLOUD FOR CUSTOMER

Reproducing the Issue

1. Go to Administrator Woc
2. Select OData Service Explorer View
3. Test SAP Odata Services - c4codata
4. Select ServiceRequestCollection Entity Sets
5. Select Method POST

Cause

The issue might be due to incorrect date format.

Resolution

Please use the correct datetime format: "YYYY-MM-DDThh:mm:ss".

See Also

Please refer to odata.org for the date formats and other data type format

Keywords

OData, Date format , KBA , AP-RC-ODF , OData framework (C4C Only) , How To

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions