Rails app does not load in Admin.Shopify.Com

Topic summary

A Rails embedded app built with the shopify_app gem loads correctly via the shop’s legacy admin URL (foo.myshopify.com/admin/apps/foo) but fails when opened in the new admin domain (admin.shopify.com), showing an error (details only visible in a linked screenshot).

The poster suspects this is related to a known Shopify App Bridge issue (linked GitHub issue #160). App Bridge is the JavaScript SDK that powers embedded app behavior within Shopify Admin.

They’re asking if there’s a fix and how to implement it specifically when using the shopify_app Ruby library.

No solutions or workarounds are provided in the thread; the request remains open. The screenshot is central to diagnosing the error, but its contents aren’t described in the post.

Summarized with AI on February 4. AI used: gpt-5.

I created a Rails shopify app using the Shopify library https://github.com/Shopify/shopify_app . The App works perfect if I access it through foo.myshopify.com/admin/apps/foo but fails to load in the admin.shopify.com with the following error below

From this, it seems like it is a known issue https://github.com/Shopify/shopify-app-bridge/issues/160 . Is there a fix for this and how do I fix it when I used the Shopify app library https://github.com/Shopify/shopify_app ?