Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

Solved

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

HunkyBill
Shopify Partner
4853 60 569

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
Accepted Solution (1)

SBD_
Shopify Staff
1831 273 423

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?

Scott | Developer Advocate @ Shopify 

View solution in original post

Reply 1 (1)

SBD_
Shopify Staff
1831 273 423

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?

Scott | Developer Advocate @ Shopify