Re: Failed to execute post message on DOM window

Failed to execute post message on DOM window

carecare
Shopify Partner
13 3 6

Hi there, I am working with the basic typescript remix app and have only edited the app.__index.tsx. In this process, I've noticed an increasing number (30+) of these messages pop up when I run the app in my dev store:

 

 

vendors-node_modules_dnd-kit_modifiers_dist_modifiers_esm_js-node_modules_dnd-kit_sortable_di-f7b9e9-89a3514d36f27c54.js:2 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://pos-channel.shopifyapps.com') does not match the recipient window's origin ('https://admin.shopify.com').

 

 

 

Does anyone know exactly what this is referencing and how to resolve the issue? It occasionally prevents the entire app from loading, but doesn't seem to be connected to what I'm adding to the index file 

 

Thanks!

 

Carrie

Replies 2 (2)

every-tuesday
Shopify Partner
8 0 2

I'm also experiencing this. I was following along with the QRCode example and noticed this when I was editing the index page. Even when I go back to the original file with no edits, the error persists.

vabhavkalra
Shopify Partner
1 0 0

I am facing the same issue when i deploy using AWS EC2.
If I deploy using fly.io, its all working good.
I think the problem is with shopify app bridge.