develpe an app using php template,"couldnt find the store with domain..."

Topic summary

A developer is encountering a “Couldn’t find the store with domain” error while setting up a Shopify app using the official PHP template from GitHub.

Setup attempted:

  • Followed standard installation steps (key generation, migration, yarn dev)
  • Can access the store via the error message link, suggesting connectivity isn’t the core issue

Configuration concerns:

  • Uncertain about proper .env configuration, particularly the APP_KEY field (left empty)
  • Modified shopify.app.toml but unclear if settings are correct
  • Set up redirect URLs and authentication callbacks

Troubleshooting efforts:

  • One suggestion pointed to a community thread about resolving this error in Docker contexts
  • Initial recommendation didn’t resolve the issue
  • Developer subsequently cleared both configuration files and added API_KEY and API_SECRET_KEY to .env

Current status: The discussion remains open with no confirmed resolution. The root cause appears related to environment configuration rather than code issues.

Summarized with AI on November 5. AI used: claude-sonnet-4-5-20250929.

Check here: https://community.shopify.com/c/technical-q-a/how-to-resolve-couldn-t-find-the-store-error-when-dockerizing/td-p/2323534