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 |
---|---|
19 | |
7 | |
7 | |
6 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022