Issue: After logging in with “shopify theme dev --store {store}”, users on Shopify CLI 3.44.1 repeatedly receive “[422] API request client error,” despite seeing “ Logged in.” Logging out via “shopify auth logout” does not resolve it, and “shopify theme info” still shows they’re logged in and can push themes.
Context: Reported on macOS (darwin-arm64) with zsh, Node v19.7.0, Ruby 3.2.1. A screenshot indicates “Development Theme ID Not set,” suggesting no development theme is selected.
Resolution (confirmed by multiple users):
Ensure a development theme exists and pass its ID explicitly: “shopify theme dev --store {store} --theme {theme-id}”.
If you don’t have the ID, create/upload a theme first (e.g., “shopify theme push”) to obtain the theme ID, or upload via the Shopify admin, then rerun the dev command with --theme.
One user referenced an external post with additional details.
Outcome: Setting/using a valid Development Theme ID resolves the 422 error for affected users. No official root cause or Shopify-side fix noted; the thread appears resolved by the workaround.