Skip to main content
Best answer

Unsubscribe hook doesn't work

  • July 9, 2021
  • 9 replies
  • 1063 views

HI,
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.

Thanks

 

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”

Hi @CBFS , thanks for the response
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.

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

9 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 9, 2021

Hi @shweta 

Can you post screenshots of how you have this unsubscribe feature configured?


  • Author
  • Beginner
  • July 10, 2021

HI @Troy Tessalone 
in trigger I have setup unsubscribed like the below screen shot

 


I’m noticing this change too today. Earlier when you turn off a Zap, unsubscribeHook request was triggered. But no such request is made now. However, every time you unpause the Zap, a fresh subscribe request is being sent.


Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • July 13, 2021

Hi @shweta!

 

It looks like you’re working on a Zapier integration using the Zapier Platform for developers, is that right? If so, you could take a look at this post to see if it helps as this member was having a similar issue: 

 

I hope that helps!


  • Author
  • Beginner
  • July 14, 2021

I’m noticing this change too today. Earlier when you turn off a Zap, unsubscribeHook request was triggered. But no such request is made now. However, every time you unpause the Zap, a fresh subscribe request is being sent.

yes , subscribe hook called every time when ever I am turning on the zap but when I tried to turned off the zap unsubscribed hook does not trigger


  • Author
  • Beginner
  • July 14, 2021

Hi @shweta!

 

It looks like you’re working on a Zapier integration using the Zapier Platform for developers, is that right? If so, you could take a look at this post to see if it helps as this member was having a similar issue: 

 

I hope that helps!, 

HI @Danvers , i am not using the Zapier Platform for developers, the screen shot which I have shared is the code mode of the unsubscribed section.


  • New
  • July 15, 2021

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”

  • Author
  • Beginner
  • July 15, 2021

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”

Hi @CBFS , thanks for the response
Is there any way we can fixed that delay or I need to wait for developer to fixed the delay issue performUnsubscribe


  • New
  • Answer
  • July 16, 2021

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”

Hi @CBFS , thanks for the response
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.