Issue with EventBridge METAOBJECTS_CREATE Webhook

Issue with EventBridge METAOBJECTS_CREATE Webhook

SrBelmont
Shopify Partner
1 0 0

 

I'm encountering an issue when trying to register an event on METAOBJECTS_CREATE using EventBridge. No matter what I try, I keep receiving the following error message:

 

"The specified filter is invalid, please ensure you specify the field(s) you wish to filter on."

 

 

Despite multiple attempts, the error persists. If anyone has successfully configured a filter for METAOBJECTS_CREATE on EventBridge, could you provide some guidance or examples?

Thanks in advance for any help or suggestions!



SrBelmont_0-1730230063082.png

 

Replies 2 (2)

Alberto_Nebulab
Shopify Partner
1 0 0

Apparently, you need to specify a filter to successfully register this webhook:

{
"topic": "METAOBJECTS_CREATE",
"webhookSubscription": {
"arn": "your-address",
"format": JSON,
"filter": "type:packaging"
}
}

 

vdg437
Shopify Partner
1 0 0

How do you know what to filter for? I want to receive ANY metaobjects that are being created.

I tried to have following filter(s):

{
filter: "id:*"
}

{
filter: "name:*"
}

 This doesn't work and I have no idea what the filter is referencing.

 

Also why is the filter mandatory on this topic?