What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Not receiving webhook fail email

Not receiving webhook fail email

EcriYkim
Visitor
1 0 0

I created a custom app and registered webhooks. It works fine.

 

However, I wanted to ensure I received an email when the webhook failed.

 

So I registered another webhook with an incorrect URL. A couple of orders were made (topic: orders/create). I expected both orders to trigger failed webhooks and receive webhook failed email to the email address that I registered. It has been 48+ hours, but I am not getting any.

 

This is my webhook config:

        {
            "id": xxxxDeletedxxxx,
            "address": "xxxxIncorrectURLxxxx",
            "topic": "orders/create",
            "created_at": "2024-02-27T12:21:56-05:00",
            "updated_at": "2024-02-27T12:21:56-05:00",
            "format": "json",
            "fields": [],
            "metafield_namespaces": [],
            "api_version": "2024-01",
            "private_metafield_namespaces": []
        }

The URL should not return 2xx status, instead 404 not found.

 

I also expect after 48 hours and 19 attempts failed, the webhook should be deleted. But it is still there.

 

I don't use Shopify CLI or access to the Partners page to see Webhook status and logs.

 

Can you help me to test getting a webhook failed email?

 

I am trying to us this email notification to trigger the order synchronization process that I am going to build.

Replies 0 (0)