Can't unsubscribe from Webhook if server is not reachable

When I debugged the application, I set the subscription lifetime to 1 hour. This time i did not change the time, there were subscriptions for 10 days with a callback from ngrok:

The address after ngrok shutdown is not available. Generating the same domain is unlikely to succeed. Is there any way to unsubscribe? Or unsubscribe all subscriptions?

As per the documentation

You just need to make the same request you used to subscribe, but set the value of hub.mode to unsubscribe

I do this, but it doesn’t unsubscribe, since the Twtich server wants a response. It does not unsubscribe without an response.

Then you’ll either have to wait it out.

Or wait for Twitch to auto kill it.

It shouldn’t cause an issue other than data going to a non existent server.

There is a problem in that the limit of callbacks = 3 for the same topic.

3 subscriptions per topic/callback pair

In the case of private data, such as channel subscriptions topic, you should also revoke the User Access Token if you no longer have access to the callback, and there is any potential for that url to be reused by other users.

For public topics you can just let them expire. Ideally though you shouldn’t use webhooks with callbacks that can be lost/changed during the lifetime of a subscription.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.