Skip to main content
Best answer

Error when deleting a zap containing a custom integration

  • Sep 22, 2020 2:05 PM UTC
  • 5 replies
  • 400 views

jerome
Forum|alt.badge.img

Hi there!

I developed a custom integration and it works very well. I can create it, add a trigger, etc.

The only “bug” I have is that, when I try to delete a Zap containing this integration, I get:

“Error deleting Zap: invalid json response body at https://zapier.com/api/v4/zaps/XXX/ reason: Unexpected end of JSON input”

Does someone already had the problem? Is there something to do on my side?

Best answer by jerome

I got an answer from the support. It is a known bug that will be solved soon. 

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

5 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Sep 22, 2020 3:14 PM UTC

Try refreshing the page after trying to delete the Zap, it should be deleted.

Zapier had some recent issues which were likely contributing to the problem you were encountering: https://status.zapier.com/#incidents-list


jerome
Forum|alt.badge.img
  • Author
  • Beginner
  • Sep 22, 2020 3:39 PM UTC

Hi @Troy Tessalone,

Yes, at the end, after refresh, it is ok. Thanks for the info regarding the issues. I will check that later in the week, I was wondering if I did something wrong.


Forum|alt.badge.img+9
  • Zapier Staff
  • Sep 22, 2020 4:40 PM UTC

Was the trigger you wrote a rest hook type trigger?  As a developer there shouldn’t be anything you might do that effects the user experience of removing a Zap.  The only thing I can think of that might be relevant here is that Zapier does send an unsubscribe request to your rest hook subscription endpoint whenever a Zap is paused.   If that request failed, or returned an un-parsable payload, it’s conceivable you might end up with a message like that.  

If your trigger is a polling trigger this is not relevant, and it’s likely something else behaving funny other than your integration.

 


jerome
Forum|alt.badge.img
  • Author
  • Beginner
  • Sep 22, 2020 4:53 PM UTC

Hi @Zane,

Yes, it is a rest hook trigger. But the unsubscribed request works well when the zap is disabled. I'm returning a json, but maybe there are some mandatory fields expected?


jerome
Forum|alt.badge.img
  • Author
  • Beginner
  • Answer
  • Sep 23, 2020 4:26 AM UTC

I got an answer from the support. It is a known bug that will be solved soon.