App Uninstall Webhook Not Working to express Post API

Topic summary

Issue: An app uninstall webhook registers successfully via API, but no webhook is received when the app is removed from a test Shopify store.

Context: A webhook is an HTTP POST sent by Shopify when specific events occur (here, app/uninstalled). The registration response shows success with details: id 1102699593801, address https://xxxxxx/api/v1/appuninstall/webhook, topic app/uninstalled, format json, API version 2021-10, created/updated at 2023-06-29T14:44:25+05:30.

Guidance offered: The likely cause is the webhook URL being down or not responding correctly. Shopify retries delivery ~10 times; the endpoint must return a success (2xx) response per Shopify’s webhook guide (link provided). If the endpoint fails to respond properly, Shopify won’t consider the delivery successful.

Status: Unresolved. The webhook appears registered, but no deliveries are observed. No confirmation yet that the endpoint is reachable and returning the required success response. Next step implied by replies: verify endpoint availability and response behavior per Shopify’s documentation.

Summarized with AI on January 24. AI used: gpt-5.

I have already spent several hours on this.

I have successfully registered an app uninstalled webhook from api call on app installation. (The json return success,). I see the webhook successfully being registered, however when I delete the app from test Shopify store, I do not see that webhook being triggered.

Can anyone help me with the issue?

1 Like

@Marthamurray what was the your code line ?

the only case that you register webhook URL that was not up or not working. this the only case webhook not fire. shopify send webhook after some retry 10 then then time. if failed. you need to return the success response as per the shopify guide
more detail you can see thie guide https://shopify.dev/docs/apps/webhooks/configuration/https#step-4-receive-the-webhook

We got successful response on registering webhook but its not triggering our webhook on app uninstall event

webhook {

id: 1102699593801,

address: https://xxxxxx/api/v1/appuninstall/webhook ,

topic: app/uninstalled,

created_at: 2023-06-29T14:44:25+05:30,

updated_at: 2023-06-29T14:44:25+05:30,

format: json,

fields: ,

metafield_namespaces: ,

api_version: 2021-10,

private_metafield_namespaces:

}