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.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Node / Express App Bridge X-Frame Option Error

Node / Express App Bridge X-Frame Option Error

Chris_Hantis
Shopify Partner
54 3 6

I deployed my app to Heroku last night.

I am able to instal the app but I am not able to see the app, and I receive an error screen and message in the console (below).

Screen Shot 2019-09-16 at 12.11.52 AM.png

 

How do you resolve this?

  • I have tried adding npm helmet to the server.
  • my app url is: order-minimum.herokuapp.com/shopify and the target origin provided is order-minimum.herokuapp.com. Does these have to be one in the same?

Any help / guidance would be greatly appreciated.

Chris

 

 

CH
Replies 2 (2)

Alex
Shopify Staff
1561 81 343

This error is coming up because whatever is happening on your end is leading to your app trying to shown a Shopify Admin path within the iframe meant for embedded apps. We do not allow the admin to be framed, so it looks like maybe a non-full page redirect is occurring on your end which ultimately points to an admin path. I'd focus your search in that area.

 

Cheers.

Alex | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Chris_Hantis
Shopify Partner
54 3 6

You should check with the app developer if installing that app messed up your store.

CH