{"section":"known-issues","requestedLocale":"en","requestedSlug":"product-with-show-when-out-of-stock-set-as-false-returns-200-instead-of-404","locale":"en","slug":"product-with-show-when-out-of-stock-set-as-false-returns-200-instead-of-404","path":"docs/en/known-issues/Store Framework/product-with-show-when-out-of-stock-set-as-false-returns-200-instead-of-404.md","branch":"main","content":"## Summary\n\n\nWhen a product exists in the catalog but is out of stock and has the `Show when out of stock` flag set to `false`, accessing its URL returns a `200 OK` status code and redirects to a URL containing the `ProductLinkNotFound` parameter. The correct behavior should be to return a `404 Not Found` response immediately.\n\n\n#### Simulation\n\n\n\n\n1. Ensure a product exists in VTEX.\n2. Set the product's inventory to zero.\n3. Set the `Show when out of stock` flag to `false`.\n4. Try accessing the product’s PDP URL.\n5. Observe that the request returns a `200 OK` status and redirects to a page with `ProductLinkNotFound` in the URL.\n\n\n#### Workaround\n\n\nN/A"}