AWS Codepipe Webhooks

sim*_*mbu 1 amazon-web-services aws-codepipeline

创建AWS Codepipeline之后,出现类似以下错误

无法注册webhook。Webhook已创建,并且您的管道已更新,但是该Webhook无法在GitHub上注册。等待几分钟,然后重试。如果问题仍然存在,请联系您的AWS管理员或AWS支持。失败以下操作:RegisterWebhookWithThirdParty。以下消息包含有关异常的详细信息:Webhook无法在GitHub上注册。错误原因:未找到[状态代码:404,正文:{“消息”:“未找到”,“ documentation_url”:“ https://developer.github.com/v3/repos/hooks/#create-a-hook ” }]

有人对这个问题有想法吗?提前致谢

Shu*_*pra 5

仅当您具有对bitbucket / github的管理员访问权限时才能创建Webhook。尝试从管理员帐户创建Webhook,这应该可以解决您的问题。


hep*_*ump 0

来自 Github 的此类错误可能特别难以分类,因为 Github 将 403 Forbidden 处理为 404 Not Found。

The very likely cause of this issue is that while you may have read and write permissions to Github your Github Personal Access Token likely does not have Webhook permissions.

The resolution to this is to have the repo administrator grant the appropriate Webhook creation permissions to the Github user account that is requesting to create the Webhook.