What's your biggest current challenge? Have your say in Community Polls along the right column.
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.

failed to parse JSON [object Object] from origin

failed to parse JSON [object Object] from origin

hasankamal
Shopify Partner
3 0 0

We are customify app team and trying to update our app using app bridge 2.0 on our development store everything working without any issue with the app bridge but when we push on the live server suddenly app can not load and got this error

 

 

Shopify.AppMessenger failed to parse JSON [object Object] from origin ourserver app
console.warn @ main-5a8c27c31625646e73e800ce88113acb7ef78c297a7467b3402e7eeb0c058e7d.js:2
console.<computed> @ main-5a8c27c31625646e73e800ce88113acb7ef78c297a7467b3402e7eeb0c058e7d.js:2
e.warn @ index-1e4d066a46fadc6e45bc75462d2d32834f6c516a01f2697d3506404ccf7f6645.js:4
e.receive @ index-1e4d066a46fadc6e45bc75462d2d32834f6c516a01f2697d3506404ccf7f6645.js:4
o.__trace__ @ main-5a8c27c31625646e73e800ce88113acb7ef78c297a7467b3402e7eeb0c058e7d.js:2

 


i read on this forum must contact shopify staff or developer to fix it https://community.shopify.com/c/shopify-apis-and-sdks/problem-with-new-app-deployment/td-p/589130

 

or maybe someone can point it me out

 

Screenshot from 2021-12-10 10-13-15.png

 

Replies 2 (2)

hasankamal
Shopify Partner
3 0 0

Never mind i read it now the new documentation for 2.0 no longer using session but host it's solved now.

hasankamal
Shopify Partner
3 0 0

Also is there any risk if I generate a new key for my apps?