---
title: "Why am I getting a Webhook creation failed error when trying to connect my Bitbucket repository?"
date: "2025-05-08T09:19:06+00:00"
summary: "Troubleshoot Bitbucket-Acquia Pipelines connection errors. Learn why webhook creation fails and how to resolve unauthorized user issues."
image:
type: "article"
url: "/acquia-cloud-platform/help/68946-why-am-i-getting-webhook-creation-failed-error-when-trying-connect-my-bitbucket-repository"
id: "2276df11-ccc2-4337-9803-5dcf573a2509"
---

When connecting your Bitbucket repository with Acquia Pipelines, you might run into the following error:

    Danger! 400 : {"success":false,"message":"Webhook creation failed for app [\"ff312a79-a73b-4d51-b770-f298292907db\"], repo mybitbucketnamespace/mybitbucketrepo,
    reason: User unauthorized to create deployment key","error":"Webhook creation failed for app [\"ff312a79-a73b-4d51-b770-f298292907db\"], repo mybitbucketnamespace/mybitbucketrepo,
    reason: User unauthorized to create deployment key"}

This is a known limitation with the Bitbucket service. Only Bitbucket account owners can connect to repositories created under the default workspace of the Bitbucket account.