network_access_testing feature preview, then test every external link and storefront request against your app’s [network_access] declarations. The preview warns about unlisted sources; it does not block requests.On this page
Why this happens
Older storefront app patterns assume that if an injected script or link works in the browser, the host is correctly declared. Shopify introduced a November 4, 2026 preview to make omissions visible. Missing allowed_navigation_hosts can trigger exit warnings for links, while requests to hosts absent from allowed_sources generate browser console warnings.
Fix the implementation
- Review the app’s
shopify.app.toml[network_access]section. - List every external endpoint used by the storefront integration: API hosts, analytics collectors, asset servers, support portals and redirect destinations.
- Create a development store with the
network_access_testingfeature preview enabled. - Install the app and exercise the storefront flows that actually invoke those hosts.
- Add legitimate destinations to the appropriate setting; remove unused hosts rather than approving entire domains reflexively.
- Repeat on desktop and mobile, including error paths, region redirects and third-party callbacks.
Practical example
Keep navigation destinations separate from request destinations. A link to an external help center belongs in the navigation review; a JavaScript fetch() to a service endpoint belongs in the sources review. Audit both when one user action opens a page and sends telemetry.
- Open a storefront page that calls a declared API host; verify no unexpected warning.
- Temporarily use an undeclared test host; confirm the console warning appears.
- Click an undeclared external navigation link and observe the exit warning.
- Restore the intended declarations, reload and verify the warnings disappear.
- Check all storefront templates and geographic variants before shipping.

