So, I’m having an issue when trying to establish a webhook. The error is:
"error": "invalid_filters_for_larger_scoped_webhooks",
"message": "Webhooks for larger scoped resources must have at least one filter and all filters must be in our whitelist.",
At first it made sense - we’re trying to have a webhook whenever someone creates/updates a task in our environment. But, then as a test, I updated the request body to include the Resource ID for a small portfolio… and I get the same error. Even when I update the action to be “added,” it still mentions needing fields even tho fields aren’t an acceptable parameter for “added” actions.
So naturally, my two questions are:
- Why am I getting this error? How small does the portfolio need to be?
- Will I be able to create webhooks for all tasks updates/creations within our environment?
Here is the body I’m sending in the webhook creation request:
{
"data": {
"filters": [
{
"action": "changed",
"resource_type": "task",
"fields": ["due_on", "name", "notes", "liked"]
}
],
"resource": "[redacted]",
"target": "https://[redacted]/api/receiveWebhooks"
}
}
This example is being created while following along with a tutorial on Vimeo (Tutorial: Webhooks on Vimeo) that seems to work for the creator.
Thanks!