An existing active hook is already present for this client
I'm suddenly getting a bunch of errors from the API when trying to register hooks.
The error is:
PodioBadRequestError: "An existing active hook is already present for this client"
Request URL: http://api.podio.com/hook/app/7286881/
I have double checked, and there is NO existing hook for the URL's I am specifying.
For example, I have an existing hook to:
www.globimail.com?q=foo
and I'm trying to add a new hook for:
www.globimail.com?q=bar
and it fails.
This worked fine up to a few days ago.
What's changed? Why is this not working? How can I register my hooks? (and I DO need multiple hooks to the same domain and script with different GET parameters).
Please advise.
Thanks,
-Andreas
-
Same here, in-fact its not only different GET parameters but also for unique URL for different events for same app.
So in our case, during first registration we can add hooks on an app with endpoint "http://domain.com/hook/123" for CREATE and UPDATE events and next time when we try to add hooks with endpoint "http://domain.com/hook/456" for CREATE and UPDATE events we get this message "An existing active hook is already present for this client". Strange!!!
Something has really changed in the API layer that is causing this problem. Quick help on this is appreciated.
-
Hi. I did make a change just the other day because we were seeing tens of thousand of hooks created on the same apps. Naturally this causes an extreme amount of calls. All the URL's were unique, so that is not a good way for us to limit them.
I initially changed the limit to one hook per type per client per app, but I have increased it to 10 earlier today. That being said, there really is no good reason for us having to notify you multiple times about the same event. It is perfectly reasonable to expect that you can take multiple actions on the same event. Right now you push that to our side, but you could do it as well, and we would need to do significantly fewer hook calls. -
In a perfect production world we wouldn't need multiple hooks, but we use them a fair bit when testing new functionality. It's an easy way to perform additional work on the same hooks without having to re-jig the whole core in certain situations. It's usually just temporary and get's moved into the main webhook eventually (or discarded if the experiment failed).
Please sign in to leave a comment.
Comments
10 comments