Webhooks fail after a time

We have webhooks with a bitbucket template to trigger bitbucket pipelines and they work fine for a time, but then all of a sudden they loose authentication and we see a 401 error in the webhook.

Why is this? The user used for authentication has not changed. This has happened several times now, and we have been solving this by creating new webhooks and deleting the failing ones, but this is not sustainable, especially since we don’t get any notification that the webhook has failed.

Hi @helene.francke, are these Webhooks in Contentful that trigger Bitbucket or the other way around? If it’s the first case, then the authentication error is most likely happening on Bitbucket, since (as you mentioned) the Webhooks is being correctly triggered.