vuestorefront / vue-storefront-api

Vue.js storefront for Magento2 (and not only) - data backend
https://www.vuestorefront.io
MIT License
348 stars 338 forks source link

uncaughtException: ResponseError: illegal_argument_exception while mage2vs products import #568

Open mateuszrusiecki opened 3 years ago

mateuszrusiecki commented 3 years ago

command: node --harmony cli.js products --removeNonExistent=true --partitions=1

error: uncaughtException: ResponseError: illegal_argument_exception date=Mon May 24 2021 10:22:30 GMT+0000 (Coordinated Universal Time), pid=597471, uid=1000, gid=1000, cwd=/home/marcokoers/mage2vs/src, execPath=/home/marcokoers/.nvm/versions/node/v14.16.1/bin/node, version=v14.16.1, argv=[/home/marcokoers/.nvm/versions/node/v14.16.1/bin/node, /home/marcokoers/mage2vs/src/cli.js, products, --removeNonExistent=true, --partitions=1], rss=75911168, heapTotal=53084160, heapUsed=17620976, external=2436715, arrayBuffers=935102, loadavg=[0.21, 0.18, 0.28], uptime=1108797, trace=[column=15, file=/home/marcokoers/mage2vs/src/adapters/nosql/elasticsearch.js, function=null, line=110, method=null, native=false, column=9, file=/home/marcokoers/mage2vs/node_modules/@elastic/elasticsearch/lib/Transport.js, function=onBody, line=339, method=null, native=false, column=11, file=/home/marcokoers/mage2vs/node_modules/@elastic/elasticsearch/lib/Transport.js, function=IncomingMessage.onEnd, line=264, method=onEnd, native=false, column=22, file=events.js, function=IncomingMessage.emit, line=327, method=emit, native=false, column=12, file=internal/streams/readable.js, function=endReadableNT, line=1327, method=null, native=false, column=21, file=internal/process/task_queues.js, function=processTicksAndRejections, line=80, method=null, native=false], stack=[Error: ResponseError: illegal_argument_exception, at /home/marcokoers/mage2vs/src/adapters/nosql/elasticsearch.js:110:15, at onBody (/home/marcokoers/mage2vs/node_modules/@elastic/elasticsearch/lib/Transport.js:339:9), at IncomingMessage.onEnd (/home/marcokoers/mage2vs/node_modules/@elastic/elasticsearch/lib/Transport.js:264:11), at IncomingMessage.emit (events.js:327:22), at endReadableNT (internal/streams/readable.js:1327:12), at processTicksAndRejections (internal/process/task_queues.js:80:21)]

fix this shit!