Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

Incompatible call Magento 2.1 rest API /rest/V1/products-render-info #546

Open
VladanZ opened this issue Jan 19, 2021 · 1 comment
Open

Comments

@VladanZ
Copy link

VladanZ commented Jan 19, 2021

Incompatible with Magento 2.1 rest API /rest/V1/products-render-info
Incompatibility with Magento 2.1 is not stated in any of available docs.

2021-01-19T15:30:46.889Z - info: Importing 2 of 3 - [(3) 10%] with tsk = 1611070246403
2021-01-19T15:30:46.889Z - info: Tasks count = 0
2021-01-19T15:30:46.889Z - info: No tasks to process. All records processed!
2021-01-19T15:30:46.889Z - info: Cleaning up with tsk = 1611070246403

2021-01-19T15:30:46.890Z - info: Task done! Exiting in 30s...

error: uncaughtException: ResponseError: illegal_argument_exception date=Tue Jan 19 2021 16:30:46 GMT+0100 (Central European Standard Time), pid=22936, uid=0, gid=0, cwd=/var/www/vue-storefront-api, execPath=/usr/bin/node, version=v14.15.4, argv=[/usr/bin/node, /var/www/vue-storefront-api/node_modules/mage2vuestorefront/src/cli.js, taxrule, --removeNonExistent=true], rss=75743232, heapTotal=52908032, heapUsed=14961968, external=1703078, arrayBuffers=201800, loadavg=[0.09, 0.12, 0.06], uptime=112030, trace=[column=15, file=/var/www/vue-storefront-api/node_modules/mage2vuestorefront/src/adapters/nosql/elasticsearch.js, function=null, line=110, method=null, native=false, column=25, file=/var/www/vue-storefront-api/node_modules/once/once.js, function=f, line=25, method=null, native=false, column=11, file=/var/www/vue-storefront-api/node_modules/@elastic/elasticsearch/lib/Transport.js, function=null, line=289, method=null, 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 /var/www/vue-storefront-api/node_modules/mage2vuestorefront/src/adapters/nosql/elasticsearch.js:110:15,     at f (/var/www/vue-storefront-api/node_modules/once/once.js:25:25),     at IncomingMessage.<anonymous> (/var/www/vue-storefront-api/node_modules/@elastic/elasticsearch/lib/Transport.js:289: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)]

error: uncaughtException: ResponseError: illegal_argument_exception date=Tue Jan 19 2021 16:30:46 GMT+0100 (Central European Standard Time), pid=22936, uid=0, gid=0, cwd=/var/www/vue-storefront-api, execPath=/usr/bin/node, version=v14.15.4, argv=[/usr/bin/node, /var/www/vue-storefront-api/node_modules/mage2vuestorefront/src/cli.js, taxrule, --removeNonExistent=true], rss=75743232, heapTotal=52908032, heapUsed=15081944, external=1703562, arrayBuffers=202244, loadavg=[0.09, 0.12, 0.06], uptime=112030, trace=[column=15, file=/var/www/vue-storefront-api/node_modules/mage2vuestorefront/src/adapters/nosql/elasticsearch.js, function=null, line=110, method=null, native=false, column=25, file=/var/www/vue-storefront-api/node_modules/once/once.js, function=f, line=25, method=null, native=false, column=11, file=/var/www/vue-storefront-api/node_modules/@elastic/elasticsearch/lib/Transport.js, function=null, line=289, method=null, 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 /var/www/vue-storefront-api/node_modules/mage2vuestorefront/src/adapters/nosql/elasticsearch.js:110:15,     at f (/var/www/vue-storefront-api/node_modules/once/once.js:25:25),     at IncomingMessage.<anonymous> (/var/www/vue-storefront-api/node_modules/@elastic/elasticsearch/lib/Transport.js:289: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)]

error: uncaughtException: ResponseError: illegal_argument_exception date=Tue Jan 19 2021 16:30:46 GMT+0100 (Central European Standard Time), pid=22936, uid=0, gid=0, cwd=/var/www/vue-storefront-api, execPath=/usr/bin/node, version=v14.15.4, argv=[/usr/bin/node, /var/www/vue-storefront-api/node_modules/mage2vuestorefront/src/cli.js, taxrule, --removeNonExistent=true], rss=75743232, heapTotal=52908032, heapUsed=15142680, external=1703982, arrayBuffers=202664, loadavg=[0.09, 0.12, 0.06], uptime=112030, trace=[column=15, file=/var/www/vue-storefront-api/node_modules/mage2vuestorefront/src/adapters/nosql/elasticsearch.js, function=null, line=110, method=null, native=false, column=25, file=/var/www/vue-storefront-api/node_modules/once/once.js, function=f, line=25, method=null, native=false, column=11, file=/var/www/vue-storefront-api/node_modules/@elastic/elasticsearch/lib/Transport.js, function=null, line=289, method=null, 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 /var/www/vue-storefront-api/node_modules/mage2vuestorefront/src/adapters/nosql/elasticsearch.js:110:15,     at f (/var/www/vue-storefront-api/node_modules/once/once.js:25:25),     at IncomingMessage.<anonymous> (/var/www/vue-storefront-api/node_modules/@elastic/elasticsearch/lib/Transport.js:289: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)]

 == PRODUCTS IMPORTER ==
2021-01-19T15:30:49.101Z - debug: Elasticsearch module initialized!

info: Winston logging library initialized.

2021-01-19T15:30:49.117Z - info: Running in SPM (Single Process Mode)

2021-01-19T15:30:49.120Z - info: Connected correctly to server

2021-01-19T15:30:49.120Z - info: TRANSACTION KEY = 1611070249117

2021-01-19T15:30:49.120Z - info: Configurable parent sync is  false

2021-01-19T15:30:49.120Z - debug: &searchCriteria[currentPage]=1&searchCriteria[pageSize]=50

debug: Calling API endpoint: GET https://test.local/rest/cz/V1/products?searchCriteria=&searchCriteria[currentPage]=1&searchCriteria[pageSize]=50

(node:22960) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)

node_redis: Warning: Redis server does not require a password, but a password was supplied.

node_redis: Warning: Redis server does not require a password, but a password was supplied.

node_redis: Warning: Redis server does not require a password, but a password was supplied.

debug: Response received.

debug: Calling API endpoint: GET https://test.local/rest/cz/V1/products-render-info?searchCriteria=&searchCriteria[filter_groups][0][filters][0][field]=sku&searchCriteria[filter_groups][0][filters][0][value]=8595114419333%2C8595114456529%2C8595114454051%2C8595114450169%2C8594022751573%2C8594022751580%2C8595114411627%2C8595114421534%2C8595114421763%2C8595114421916%2C8595114422210%2C4000984065794%2C4000984110845%2C4000984090635%2C4000984065992%2C4000984069679%2C4000984030198%2C4000984068818%2C4000984068825%2C4000984105735%2C4000984121582%2C4000984068795%2C4000984111231%2C4000984090161%2C4000984105759%2C4000984114898%2C4000984113396%2C4000984125122%2C4000984105728%2C4000984065985%2C4000984099676%2C4000984065961%2C4000984111279%2C4000984065978%2C4000984070989%2C4000984032918%2C4000984109573%2C4000984109658%2C4000984109672%2C5012124062531%2C4000984113884%2C4000984113914%2C4000984113945%2C4000984085686%2C8005549131170%2C8005549991347%2C4000984109597%2C4000984113792%2C4000984121247%2C4000984109757&searchCriteria[filter_groups][0][filters][0][condition_type]=in&storeId=1&currencyCode=CZK

debug: Response received.

error: API call failed: Request does not match any route.

2021-01-19T15:30:50.354Z - error: Unhandled Rejection at: Promise Promise { <rejected> 'Request does not match any route.' } reason: Request does not match any route.

and freezes indefinitely until is forced to close.

Tried to invoke yarn mage2vs import manually and the same problem happens all the time.

@VladanZ VladanZ changed the title Incompatiblile call for Magento 2.1 rest API /rest/V1/products-render-info Incompatiblile call Magento 2.1 rest API /rest/V1/products-render-info Jan 19, 2021
@VladanZ VladanZ changed the title Incompatiblile call Magento 2.1 rest API /rest/V1/products-render-info Incompatible call Magento 2.1 rest API /rest/V1/products-render-info Jan 19, 2021
@oleksiy-os
Copy link

Have the same issue. Magento 2.1 doesn't have web API endpoint 'products-render-info' so products import failed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants