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

"We can't find the page" with url request, but search Vue component works fine #531

Closed mushketer888 closed 3 years ago

mushketer888 commented 3 years ago

Versions: vsf: 1.22.10 es: 5.6.11 vsf-api: 1.22.10

SfOverlay Search Panel component can succesfully find and open products with "Fetching product data asynchronously", "Executing sync task". But by accesing URL directly ,for example, /test.html it responds with "We can't find the page". So it doesn't give product from SSR. No errors in vsf and vsf-api console.

Prior to this, I was forced to change settings in vsf-api elastic.schema.product.json from "pattern": {"type": "text"}, to "pattern": {"type": "keyword"} to get rid of Internal Server Error. See: https://github.com/DivanteLtd/vue-storefront-api/issues/418. But I don't think it can be the cause.

What can be the cause or how to debug this?

Sorry, will ask in Vue Storefront repo.