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
Command runs ok?
Actual behavior
502 Error
Failed to perform the initial theme synchronization. │
│ │
│ The Admin GraphQL API responded unsuccessfully with the HTTP status 502 │
│ and errors: │
│ │
│ {}
Reproduction steps
Setup a theme with a lot of files, then run shopify theme dev
Verbose output
-templates/page.brand-gifts-for-her.json: success
2025-10-31T14:08:51.829Z: Request to https://xxx.myshopify.com/admin/api/2025-10/graphql.json completed in 16235 ms
With response headers:
- content-type: text/html
╭─ error ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Failed to perform the initial theme synchronization. │
│ │
│ The Admin GraphQL API responded unsuccessfully with the HTTP status 502 and errors: │
│ │
│ {}
Operating system
Windows 11
CLI version
3.86.1
Shell
Git bash, Powershell
Nodejs version
24.6.0
What language and version are you using in your application?
N/A