Skip to main content
Best answer

Error when deleting a zap containing a custom integration

  • September 22, 2020
  • 5 replies
  • 287 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 jeromeBest answer by jerome

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

View original
Did this topic help you find an answer to your question?
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
Forum|alt.badge.img+14
  • Zapier Expert
  • 30916 replies
  • September 22, 2020

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
  • 5 replies
  • September 22, 2020

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
  • 331 replies
  • September 22, 2020

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
  • 5 replies
  • September 22, 2020

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
  • 5 replies
  • Answer
  • September 23, 2020

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