Polaris 6 App. What generates this error in the console?

Shopify Expert
4509 46 492

Non-embedded App. Rails 6. Polaris 6. Shopify App gem 17.0.5. JWT Tokens for auth.

Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://luxshoeleather.myshopify.com’) does not match the recipient window’s origin (‘https://dorkface.test’).

I am curious. Would like to see this error disappear since it has nothing to do with anything I am doing, but seems to be an artifact of the Shopify App gem code perhaps?

It happens on every click on every link, and when the page loads. Development mode. What is causing this? I am not using any iframes or postMessages.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
Shopify Staff
Shopify Staff
1089 147 199

This is an accepted solution.

Sounds like there could be some leftover App Bridge code somewhere.

If you view source/network requests, can you see any references to App Bridge?