SAP Knowledge Base Article - Public

3456681 - Throwing Error in post call of EmailCollection Odata Service, if you use Double Quotes


Error Message While using " " (Double Quotes) in Subject Field During Post call of EmailCollection API


SAP Cloud For Customer core applications

Reproducing the Issue

1. Open Odata Explorer
2. Go to Email Collection API
3. Select POST Method
3. Enter Subject with Double Quotes and Execute

You will See a Error Message in Dialog Box


Since OData internally uses JSON.  And Double Quote is a delimiter used by JSON object. 
Hence the error is Coming.


To resolve the issue we need to Add an Escape sequence i.e '\'(Backward Slash) before every Double quote to make it work fine.


Odata, Email, EmailCollection, Email Activities, Odata Explorer , KBA , LOD-CRM-SC-EML , Email , How To


SAP Cloud for Customer core applications all versions