Errors while Importing documents on cloud


We have JSON files and wanted to import them as documents into CMS. The script provided here is used to import the documents while on the cloud for an environment. We see the below exceptions on the logs

This works fine in the localhost.

Exception / Error :

20.09.2019 20:32:40 [pool-4-thread-1] WARN [org.apache.jackrabbit.core.query.lucene.SearchIndex.updateNodes():728] Exception while creating document for node: f31d0a53-cf63-47df-ac67-09cea08573a2: javax.jcr.RepositoryException: Missing child node entry for node with id: f31d0a53-cf63-47df-ac67-09cea08573a2

Parameter that we provided are

XPath query : /jcr:root

Updater parameters : { “fileInJson”: true, “sourceBaseFolderPath”: “file:file:E://Bloomreach/ideaslatest/ideabatchone/” }

When checked on the repository with the UUID I see something like this