When I try to add my pipeline source, sync fails with the error:

Failed to sync hook with err: Webhook creation failed for path: deepika/demoApp and integration: deepikaGithub with err: postHook returned error 422 for deepika/demoApp

How can I resolve this error?

1

There are 1 best solutions below

0
On BEST ANSWER

This is usually the result of too many webhooks. GitHub allows 20 webhooks per repository. This can be resolved by performing following steps:

  • In GitHub, go to the Settings | Webhooks tab for the relevant repository
  • Delete all the failed webhooks