Failed to create AWS CodeBuild Webhook

I am trying to create a webhook via AWS CodeBuild and this is the error I get.

This is the error I also tried to create a webhook via the AWS CLI using the following command:

aws codebuild create-webhook --project-name myClassifiedProjectName

And I get the same error:

An error occurred (OAuthProviderException) when calling the CreateWebhook operation: Unable to create webhook at this time. Please try again later.

Any suggestions?

+5
source share
3 answers

I think it was a server error on the AWS side. I tried again 4 hours later, and now it suddenly works.

+1
source

I ran into the same problem and was able to solve it by getting the correct permissions for my Github user. Mostly my Github user did not have access to create a web host, although I had permission to read the repo.

+5
source

We use the Bitbucket IP whitelist , and despite adding the appropriate AWS ranges , I was also unable to create a web hook. I resorted to disabling the IP whitelist, configuring CodeBuild again, and then turning it back on.

Note : Bitbucket will notify all administrators that the whitelist is disabled!

0
source

Source: https://habr.com/ru/post/1689951/


All Articles