Hi guys, What is the reason of having a validation...
# pact-broker
b
Hi guys, What is the reason of having a validation that won't allow us to create webhooks when no contract is published yet?
Copy code
{
  "errors": {
    "consumer.name": [
      "does not match an existing pacticipant"
    ],
    "provider.name": [
      "does not match an existing pacticipant"
    ]
  }
}
I was thinking it would be good to have a webhook in place already, so that when the contract is published for the first time, the provider pipeline will be invoked
y
you can register an application and version prior to creating the webhook , see below notes https://docs.pact.io/pact_nirvana/notes_1
b
thank you Yousaf - I will take a look there