GitHub webhook deliveries show `302` or `404` and builds do not start
BeginnerTroubleshootingSCM, multibranch & webhooks
Answer
Likely causes → Missing trailing slash (/github-webhook redirects), wrong path (/github-webhook/ is for the GitHub plugin; generic webhooks use different endpoints), or the reverse proxy rewrites the request.
Diagnose → GitHub repo Settings > Webhooks > Recent Deliveries: response code and body.
Fix → Payload URL https://jenkins.example.com/github-webhook/ with trailing slash, content type application/json; check the proxy forwards POST bodies.
Prevent → Manage webhooks via an org-level hook or GitHub App with a documented URL.
More on SCM, multibranch & webhooks
`ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.`Beginner`stderr: fatal: could not read Username for 'https://github.com': No such device or address`BeginnerCheckout fails with `No ED25519 host key is known for github.com and you have requested strict checking.`IntermediateWebhook deliveries return `200` but nothing buildsAdvancedMultibranch scan log: `‘Jenkinsfile’ not found` and `Does not meet criteria` for a branch that has a JenkinsfileIntermediate`GitHub API Usage: Current quota for Github API usage has 4 remaining (1 over budget). Next quota of 5000 in 38 min. Sleeping for 37 min.`Intermediate