How can I fix 404 errors in Debut theme URLs with variable widths?

Topic summary

Main issue: 404 (file not found) errors when crawling a Shopify site using the Debut theme, specifically on image URLs that include a “{width}” placeholder.

Key detail: Example problematic URL from Shopify’s CDN shows a pattern like products/blackphenolic_{width}x.png?v=…, indicating the width value is not a valid file path component.

Context: Debut is a Shopify theme; the errors appear tied to how image URLs are formed or referenced.

Latest update: A follow-up asks whether a solution was found; no fix or explanation is provided in the thread.

Status: Unresolved/ongoing.

Open questions:

  • Why is “{width}” appearing in production URLs (template variable not replaced or misconfiguration)?
  • How should these image URLs be generated to avoid 404s (correct width variants or different snippet)?

Assets: The example URL is central to understanding the issue; no other attachments or code provided.

Summarized with AI on January 23. AI used: gpt-5.

Hi,

I was crawling my site and found 404 errors on some files which has {width} as part of the URL.

Here is an example:

https://cdn.shopify.com/s/files......products/blackphenolic_{width}x.png?v=1653531236

The theme I am using is: Debut

Does anyone know how to solve this 404 error issue?

Thanks everyone.

Did you find a solution for this error?