App Bridge Error: INVALID_CONFIG: host must be provided

Topic summary

A developer is encountering an App Bridge configuration error when their embedded Shopify app launches for the first time. The error message states “INVALID_CONFIG: host must be provided.”

Current Behavior:

  • Error occurs only on initial app launch
  • App loads correctly after page refresh
  • Connection establishes successfully on subsequent loads

Technical Details:

  • Using App Bridge version 3.7.7
  • Using App Bridge React version 3.7.7
  • Screenshot provided showing the error

Status: The issue remains unresolved with no responses or solutions posted yet. The intermittent nature (working after refresh) suggests a potential initialization timing issue with the host parameter.

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

Hello, I’m facing “host must be provided” issue when my embedded shopify app is launched for the first time. On refresh, the connection is established, and the app loads correctly.

App Bridge Version:

@shopify/app-bridge”: “^3.7.7”,
@shopify/app-bridge-react”: “^3.7.7”,