Solved

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

HunkyBill
Shopify Expert
4846 60 552

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
1829 269 406

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
1829 269 406

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