How to fix a 302 response missing Location header error in VS code?

Topic summary

Problem: Deployment from VS Code to a Shopify store fails on one of four clone shops.

Error details: After 5 retries, the Theme Kit Access CLI GET request to https://theme-kit-access.shopifyapps.com/cli/meta.json returns “302 response missing Location header.”

Context/meaning: HTTP 302 indicates a redirect; the Location header should specify where to redirect. Its absence implies an invalid redirect response, preventing the CLI from fetching required metadata.

Scope: Only affects one clone shop; others deploy successfully.

User request: Seeking explanation and a fix for the error.

Status: No answers or resolution yet; discussion remains open.

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

Hi i get this error message in vs code - when i deploy to 1 of my 4 clone shops:

request failed after 5 retries with error: Get “https://theme-kit-access.shopifyapps.com/cli/meta.json”: 302 response missing Location header

Anybody know how to fix it, or what it is?
Thanks in advance