Development discussions around Shopify APIs
Hi all,
I have tried to set up a webhook to fire when the users publish theme.
But when the webhook is fired, I got an error as below:
"topic.toUpperCase is not a function at receiveWebhookMiddleware (/root/my-app/node_modules/@shopify/koa-shopify-webhooks/build/node/receive.js:37:32)"
Here are modules I use for my app:
"koa": "^2.13.0",
"koa-bodyparser": "^4.3.0",
"koa-http-request": "^2.2.1",
"koa-router": "^8.0.8",
"koa-session": "^6.1.0"
As I research around, some people say that the problem could be the bodyParser, but even I remove the bodyParser by commenting out the code for bodyParser part, the err is still happened.
Please help 😞
User | RANK |
---|---|
10 | |
4 | |
3 | |
3 | |
3 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023