This resource already has too many webhooks, and no more can be added to it

Hi,
I’m facing with strange problem. I already have 13 active webhooks and they works fine. But i can’t create new one from particular project id. This is weird because when i try with other project ,everything is ok.
Here is my input json:

{
“resource”: “9100",
“target”: "https://
******”,
“filters”: [
{
“action”: “changed”,
“resource_type”: “task”,
“fields”: [
“completed_at”
]
},
{
“action”: “added”,
“resource_type”: “task”
},
{
“action”: “deleted”,
“resource_type”: “task”
},
{
“action”: “added”,
“resource_type”: “story”
},
{
“action”: “removed”,
“resource_type”: “story”
},
{
“action”: “added”,
“resource_type”: “attachment”
},
{
“action”: “deleted”,
“resource_type”: “attachment”
}
]
}

Output error 403:

{“errors”:[{“message”:“This resource already has too many webhooks, and no more can be added to it.”,“help”:“For more information on API status codes and how to handle them, read the docs on errors: https://developers.asana.com/docs/errors”}]}

But there isn’t any webhook created for this project so im confused.

Does anyone had similar problem?

What are the other 13 webhooks about?

Also, if you haven’t yet, I would query Asana as to what webhooks it thinks are on that project, with an endpoint like this:

https://app.asana.com/api/1.0/webhooks?workspace={workspace gid}&resource={project gid}

That might give you some useful clues.

@Bastien_Siebman
All webhooks are the same. The only difference is resource - project id and target url which includes project id in path.

@Phil_Seeman
This endpoint returns no data for this problematic project id whereas other projectid returns proper information. So this looks like there isn’t any webhook for this project id.

I’ve just tried create the webhook and still gets error “This resource already has too many webhooks, and no more can be added to it.”

It looks like Asana bug ?

@Ross_Grambo - this does seem odd - any thoughts?

Sooo it appears the limit for webhooks is not siloed to any app. Meaning if you have multiple apps in your domain, and they have webhooks on the given resource, you’ll have hit the limit.

If you share the resource id with me (direct message it to me), I can look up what apps have webhooks on it.

1 Like

All my webhooks was created using one api key. I’ll send you those resource id’s in a moment.

2 Likes