Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am trying to update my app to App Bridge 3.0 following the instructions in the following notification:
https://shopify.dev/docs/api/app-bridge/previous-versions/updating-overview?locale=ja#update-your-ap...
When I access the app with the following URL:
https://???.myshopify.com/admin/apps/hello-139/top
I can retrieve the host parameter from the URL and initialize App Bridge using the following code:
new URL(window.location.href).searchParams.get("host");
However, when I click the link for the app name in the lower left corner of the store (see the image), the URL is as follows, and the host parameter becomes null, resulting in the following error:
https://???.myshopify.com/admin/apps/hello-139?appLoadId=???
AppBridgeError APP::ERROR::INVALID_CONFIG: not a valid host, please use the value provided by Shopify
Why is this happening? How can I resolve it?
Hi nemmy, I faced the same problem, did you find any solution?
Find Global Growth Opportunities For Your Business with Shopify AcademyLearn how to exp...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025