Shopify theme profile intermittently returns HTTP 500 for an English collection

I have reproduced the issue on the latest CLI version.

Yes, I am on the latest version

I have searched existing posts and this report is not a duplicate.

Yes, this isn’t a duplicate

In which of these areas are you experiencing a problem?

Theme

Expected behavior

The profiler should return a Liquid profile for the requested collection page instead of an HTTP 500 error.

Actual behavior

The English collection page loads in the browser, but Shopify CLI theme profile intermittently exits with HTTP 500 and a generic Shopify error page. The latest failure occurred on 2026-10-26 at 08:46:34 UTC. CLI operation ID: dd2f22ce-dafb-4d1c-85fa-1ce1683e674a. This is a CLI operation ID, not a Shopify request ID. A German profiling run succeeded previously on 2026-10-23; the German control was not run in the latest series because testing stopped after the first failure.

Reproduction steps

  1. Run the command below against the unpublished theme.
  2. The English collection page loads normally in the browser.
  3. The profiler exits with HTTP 500 and a generic Shopify error page.

npm exec --yes --package=@shopify/cli – shopify theme profile --store alu-verkauf.myshopify.com --theme 200507687296 --url /en/collections/alu-systemprofile --json --no-input

Verbose output

Shopify CLI version: 4.9.4
Command: shopify theme profile --store alu-verkauf.myshopify.com --theme 200507687296 --url /en/collections/alu-systemprofile --json --no-input --verbose

2026-10-26T09:02:58Z progress started
Generating Liquid profile for alu-verkauf.myshopify.com /en/collections/alu-systemprofile
CLI operation ID: 80a7f67b-4a6d-4dc9-824c-1dae6a00ebf0

2026-10-26T09:02:58Z Rendering https://alu-verkauf.myshopify.com/en/collections/alu-systemprofile
2026-10-26T09:03:09Z HTTP 500
x-request-id: 206cf290-4923-44a7-9000-4e573300dd8d-1793005378

2026-10-26T09:03:09Z progress failed
Error: Bad response: 500 (generic Shopify error page)
Process exit code: 1

[Sanitized: authentication/session diagnostics, request header values, telemetry and Bugsnag payloads, repeated error-page HTML, and stack frames omitted.]

Operating system

Windows 11

CLI version

4.9.4

Shell

PowerShell (pwsh)

Nodejs version

v24.19.0

What language and version are you using in your application?

Liquid (Shopify theme; no separate application language)

Hi @cpo, I checked the request ID you shared. The request timed out while rendering the collection page on our side, after about 10 seconds. I haven’t confirmed what caused the timeout yet.

I’ve shared the findings internally and asked whether there’s a workaround to get the profile to complete. I’ll follow up here when I have an update.

Hi @cpo, we’ve completed a cleanup of orphaned product option values in your store that may help with the timeouts.

Could you rerun the same shopify theme profile command using the same unpublished theme and English collection page? Since the issue was intermittent, please try a couple of runs if the first succeeds.

If it returns a 500, please share the new Shopify x-request-id and UTC timestamp so I can check that request.

Just checked, the bare .myshopify.com URL actually redirects to your custom domain (alu-verkauf.de) when hit directly. If the CLI profiler renders against the myshopify.com host for an unpublished theme, a domain redirect in that chain seems like a likely place for it to fall over, since theme preview tokens are usually host specific. Worth testing whether the 500 still happens on a dev store with no custom domain attached.