App reviews, troubleshooting, and recommendations
Using the '@shopify/shopify-app-remix' template to develop an embedded app.
Facing a problem with the webhook registration flow. When I add new webhooks in the production build, the app does not update the list without reinstallation.
Previously, when I tried to fix this problem, I added a call to the 'shopify.registerWebhook({ session })' function in the ' $.tsx' loader with the intention of registering webhooks again without reinstalling. However, the next day, I started encountering the error below:
2024-02-27T15:05:02.710600+00:00 app[web.1]: HttpResponseError: Received an error response (401 Unauthorized) from Shopify: 2024-02-27T15:05:02.710706+00:00 app[web.1]: "[API] Invalid API key or access token (unrecognized login or wrong password)" 2024-02-27T15:05:02.710706+00:00 app[web.1]: If you report this error, please include this id: 7a131cc7-30b7-4593-9875-d7c0fd12d190
It appears that I cannot call 'shopify.registerWebhook' outside of the 'afterAuth' hook.
I would like to know the correct flow for updating webhooks.
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024