Events are discarded when processed in batch mode
An error occurs when events are submitted in batch mode and at least one of the events contains malformed XML or the ATOM feed header is invalid. The entire batch of events is discarded.
When this error occurs, the following message is returned
to the client application that is emitting the events. The message
is also logged in the System.out file.
CWMDS6823E: ATOM parsing failed when processing the ATOM feed.
Resolving the problem
To resolve this problem, complete the following steps:
- Identify which event XML is malformed.
- Enable the event validation option.
- Change the content-type of the http request from application/atom+xml to text/xml.
- Resubmit the events to the REST event emitter.
- Examine the resulting error CWMDS6820E, which specifies the malformed XML event and which part of the XML is invalid.
- Correct the invalid XML.
- Resubmit the events.