I have setup a webhook via Admin API but it is not firing on products update. I have setup a custom on the store.
The GraphQL Mutatation creating the webhook subscription:
Listing the webhooks:
AWS Partner Event Bus setup:
Shopify custom app with EventBridge source:
When I change a product it does not send any webhook into AWS EventBridge. What am I doing wrong?
@Liam-Shopify any help would be much appreciated.
Hi @Jamal_Ali
What change to the product are you making for testing the webhook? Can you share the store URL where this is happening?
Is the partner eventbridge active in AWS? Have you configured any rules or targets on the eventbridge instance?
I changed the description. Store URL is https://atldiesel-dev.myshopify.com/
I have configured a rule. Here it is:
{
“source”: [{
“prefix”: “aws.partner/shopify.com”
}]
}
The target is a Lambda function.
Actually I just noticed an event under Monitoring. Is that rule not quite correct?
I would try just matching all events first to ensure they are coming through.
I’d also set it up to go to an SQS first, so you can see if the messages are coming through and it’s mot a misconfiguration of Lambda
1 Like
Are you still seeing this issue?
No, it is working now. Thanks!
I believe this was already working, I was just looking for the event in the wrong place. I can see the events coming in on the Monitoring tab in EventBridge. I was looking in the Lambda. Thank @Liam-Shopify and @JordanFinners for your suggestions.
1 Like