Pulling my hair out with Webhooks!

We are having an issue where some webhooks are being created and others are returning a 422 error:

The below are working:
orders/create

orders/delete

draft_orders/create

draft_orders/update

draft_orders/delete

These are not:

/orders/update

/carts/create

/carts/update

/checkouts/create

/checkouts/update

This works:
{“webhook”:{“format”:“json”,“topic”:“/orders/create”,“address”:“https://blazemediaaws.co.uk/createshoporder” }}

This doesn’t:
{“webhook”:{“format”:“json”,“topic”:“/carts/update”,“address”:“https://blazemediaaws.co.uk/updateshopcart” }}

practically identical sets, except for topic and address, but the address can be anything, so that just leaves the topic/trigger

Any ideas guys?

Hi @Blaze-Team :waving_hand:

I’d recommend reviewing the event topic list here, some of your topics appear to be incorrectly formatted. They should not start with / and /orders/update should be orders/**updated** (with the d) instead.

Hope that helps!

1 Like