I have an app built with Svelte with this dependency:
"@shopify/app-bridge": "^3.7.10"
I have auth redirects and installation process work properly.
BUT this “embedded app check” fails after submission:
Using the latest App Bridge script loaded from Shopify's CDN
I am trying to resolve this issue. Here is what I have done:
- Added script from Shopify CDN, where
%SHOPIFY_API_KEY%
is myClient ID
:
<meta name="shopify-api-key" content="%SHOPIFY_API_KEY%" />
<script src="https://cdn.shopify.com/shopifycloud/app-bridge.js"></script>
- Added a
shopify.app.toml
file to the root of my project:
client_id = "xxx"
application_url = "xxx"
embedded = true
name = "xxx"
handle = "xxx"
[access_scopes]
scopes = "read_products,write_products"
[auth]
redirect_urls = ["xxx", "yyy"]
[webhooks]
api_version = "2025-04"
[[webhooks.subscriptions]]
topics = ["app/uninstalled"]
uri = "xxx"
[pos]
embedded = false
But I get error 404 - There's no page at this address
I notice I get redirected to my App URL
specified in Shopify Partners before I see this 404 error (btw this URL is different from the one I specified in .toml
).
I am also wondering wouldn’t my package.json
dependency "@shopify/app-bridge": "^3.7.10"
conflict with script from CDN within <head>
?
Another note is that the script from CDN “Embedded app check” is still not satisfied.
Could someone let me know what is wrong and what I can do to fix the issue?