Gravatar for balaji.kandasamy@outlook.in

Question by Bala, Mar 8, 2018 6:54 PM

Push API Delete OUT_OF_SEQUENCE_OPERATION

I am trying to use push api Coveo 4.0 Cloud Sitecore 8.1 to delete a document in the Coveo index and I am following this article ref. Why am I deleting manually? I have a scenario that needs this.

When I invoke the DELETE command I get an acknowledgment.While I check the logs and I see it got invoked but the response error code is "OUT_OF_SEQUENCE_OPERATION"

1 Reply
Gravatar for flguillemette@coveo.com

Answer by François Lachance-Guillemette, Mar 8, 2018 7:00 PM

This information is available here: Understanding the orderingId Parameter

The orderingId you sent with the request is lower than the previous orderingId for this specific document, thus the request is ignored, else you would end up with an inconsistent state.

Gravatar for balaji.kandasamy@outlook.in

Comment by Bala, Mar 8, 2018 7:06 PM

The orderingid wasn't a required field if I understand it correctly it would the take the time of the execution as mentioned in the documentation.

"By default, the service automatically sets this parameter to the current number of milliseconds since Unix Epoch."

Ask a question