Questions and discussions about using the Shopify CLI and Shopify-built libraries.
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.
Solved! Go to the solution
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
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