IQQG0210E The addOrReplaceDocuments or removeDocuments method cannot be called because the subscribeToMessages method was not called as required.
Explanation
The subscribeToMessages method must be called before you call the addOrReplaceDocuments or removeDocuments method.
User response
Call the subscribeToMessages method before you call the addOrReplaceDocuments or removeDocuments method.