I am trying to upload JSON documents to Watson Discovery Service through the POST /documents API. The status code in the response is 202 which means that the document is accepted. But when I check in the Discovery Tooling, the error shown is:
"Error during indexing. The document contains a field type that is different than one with the same name in other documents."
What does this error mean? All the documents have the same fields & format. Some documents might have a few fields missing. I have also tried to upload this document using Discovery tooling, it still gives the same error. Are there any specific things that are checked during indexing JSON documents?