Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

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?