Questions about network_access
Short answers to what app developers ask about the [network_access] section of shopify.app.toml. Each one quotes Shopify's own pages and forum replies, with the date we read them.
- Why was my deploy rejected over network_access?
Shopify rejects deploys of in-scope apps that lack allowed_sources, or whose entries break its rules. Check scope, add the list, fix each entry.
- Is the allowed_sources limit 20 or 30 entries?
Shopify's reference says up to 30 per list; a staff reply on 12 Nov 2026 said 20. A list of 20 or fewer meets both. How to cut a long list.
- Do app home hosts go in allowed_sources?
No, not when only the app home or other Shopify admin pages use them. A host that the online store also uses stays in the list.
- Do Google Fonts need to be in allowed_sources?
Yes. If your app uses Google Fonts on the online store, list fonts.googleapis.com and fonts.gstatic.com. The testing console does not warn about them.
- Can allowed_sources use wildcards like *.example.com?
Yes. Start a host with *. to cover its subdomains; it does not cover the host itself. Navigation hosts take no wildcards, and shared domains are refused.
- Can allowed_sources declare a WebSocket (wss://) origin?
Not yet. On 1 Dec 2026 Shopify staff said wss:// support is coming shortly. Until then the reference asks for HTTPS origins. How to test it.
- I got Shopify's network access email: what do I do?
Declare your app's outside servers in allowed_sources, or an empty list, and deploy before 8 Dec 2026. Public apps without it are delisted on 1 Jan 2027.