I have a webhook on Github configured that calls AWS Codebuild to trigger the build of that branch. I'm seeing an error coming back from CodeBuild but it's unclear to me what the solution is.
Response is a 400 with following details. The webhook payload is whatever Github normally sends on a new push event to a branch.
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Sun, 01 Mar 2020 21:20:05 GMT
x-amzn-ErrorType: InvalidInputException:http://internal.amazon.com/coral/com.amazonaws.codebuild.webhooks/
x-amzn-RequestId: a4dbe4bd-244d-4f4a-826e-ed49bd72c099
{"message":"Invalid Webhook request received: Invalid source repository owner specified"}
I'll add a few things:
- The
PINGevent for the webhook was processed successfully. - The Github project is owned by my organization
- I am an owner on that organization
- I connected my Codebuild to Github initially using my personal access token with the correct required scopes and I've tried using OAuth to connect. Both connections work but the webhook still fails in the same way.