API endpoint of unsubscribed zap is not getting called when we turned off the zap.
I have attached the remote debugging and put a debugger point in endpoint and tried to turn off the zap but the debugger point never hit in my service.
Best answer by CBFS
I’ll chip in as this is an issue that I’ve discovered on Monday (2021-07-12). So the issue here is that there was a big release on monday that changed quite a few things, one of which is that `performUnsubscribe` is called with a 20-30min delay.
Other notable changes:
- if there is an error during `performSubscribe` call, the zap frontend will not show your error, nor it wont block the “ON” option, so after you refresh te zap editor, your zap will be “OFF”
- the `bundle.meta.zap.id` is useless now, as it refers to “subscription ID” rather than “zap ID”
Is there any way we can fixed that delay or I need to wait for developer to fixed the delay issue performUnsubscribe
There was no way to fix that, but there is no need, as I’ve got confirmation form the support that this change was reverted; tested it myself and it works like previously.