Hello nice supporters!
I tried searching high and low for a solution but couldn't find one. There is another thread on the same topic but that solution didn't work for me either!
So here is my code and error which App Bridge returns (see attached screenshots)
I also added request which was sent by Shopify. Host is encoded in request and it is definetely maxi-cart-test1.myshopify.com/admin
So I don't really understand what this error is about.
Thanks for reaching out. The issue you're seeing is because you've hardcoded the `host` value. Per our documentation for Retrieve the host:
host is provided as a URL query parameter appended to your application URL when your app is loaded inside the Shopify admin. The
host parameter is an encoded version of the shop origin"
Rather than hardcoding the value, try retrieving it from the URL. Hope this helps!
A couple things: