# Webhook HTTP 400 Invalid Signature

**URL:** <https://community.codecov.com/t/webhook-http-400-invalid-signature/2517>\
**Category:** Support\
**Tags:** javascript, github\
**Created:** [January 30, 2021, 3:22am UTC](https://community.codecov.com/t/webhook-http-400-invalid-signature/2517 "2021-01-30T03:22:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![RichieRunner](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/richierunner/32/1520_2.png) [@RichieRunner](https://community.codecov.com/u/RichieRunner)\
**Post date:** [January 30, 2021, 3:22am UTC](https://community.codecov.com/t/webhook-http-400-invalid-signature/2517/1 "2021-01-30T03:22:50Z")

</div>

_Please check the [troubleshooting guide](https://docs.codecov.io/docs/troubleshooting-guide) before creating a ticket._  
All fields below are required.

### Description

Webhook HTTP 400 Invalid Signature

### Commit SHAs

71bc3c49f74356667297b0b04361d92686e7714d

### Repository

[https://github.com/RichieRunner/hello-world-cc](https://github.com/RichieRunner/hello-world-cc)

### CI/CD or Build URL

AWS Codebuild  
Build commands are here: [https://github.com/RichieRunner/hello-world-cc/blob/main/javascript/buildspec.yml](https://github.com/RichieRunner/hello-world-cc/blob/main/javascript/buildspec.yml)

### Uploader

Node commands  
[https://github.com/RichieRunner/hello-world-cc/blob/main/javascript/buildspec.yml](https://github.com/RichieRunner/hello-world-cc/blob/main/javascript/buildspec.yml)

### Codecov Output

```
[Container] 2021/01/30 03:10:43 Running command codecov --token=xxx
  _____ _  
 / ____ | | |  
| | _____ | | ______  _______  
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /  
| |___| (_) | (_| |__/ (_| (_) \ V /  
 \ _____\___ / \ __,_|\___ |\ ___\___ / \_/  
                                v3.8.1
==> Detecting CI Provider
    AWS CodeBuild Detected
==> Configuration: 
    Endpoint: https://codecov.io
{ commit: '71bc3c49f74356667297b0b04361d92686e7714d',
  branch: 'HEAD',
  package: 'node-v3.8.1' }
==> Building file structure
==> Generating gcov reports (skip via --disable=gcov)
    $ find /codebuild/output/src177393001/src/github.com/RichieRunner/hello-world-cc/javascript/src -type f -name '*.gcno' -exec gcov {} +
    Failed to run gcov command.
==> Scanning for reports
    + /codebuild/output/src177393001/src/github.com/RichieRunner/hello-world-cc/javascript/src/coverage/lcov.info
    + /codebuild/output/src177393001/src/github.com/RichieRunner/hello-world-cc/javascript/src/coverage/clover.xml
==> Uploading reports
    Success!
    View report at: https://codecov.io/github/RichieRunner/hello-world-cc/commit/71bc3c49f74356667297b0b04361d92686e7714d

[Container] 2021/01/30 03:10:44 Phase complete: BUILD State: SUCCEEDED

```

### Expected Results

Webhook failed so there is no PR comment on my PR: [https://github.com/RichieRunner/hello-world-cc/pull/1](https://github.com/RichieRunner/hello-world-cc/pull/1)

### Actual Results

There should be PR comment on my PR: [https://github.com/RichieRunner/hello-world-cc/pull/1](https://github.com/RichieRunner/hello-world-cc/pull/1)

### Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

---

<div class="post-metadata">

**Author:** ![RichieRunner](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/richierunner/32/1520_2.png) [@RichieRunner](https://community.codecov.com/u/RichieRunner)\
**Post date:** [January 31, 2021, 6:49am UTC](https://community.codecov.com/t/webhook-http-400-invalid-signature/2517/2 "2021-01-31T06:49:36Z")

</div>

Deleting the webhook in my repo has now solved the problem. So…without a webhook, is it really not needed then?

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [February 1, 2021, 3:23pm UTC](https://community.codecov.com/t/webhook-http-400-invalid-signature/2517/3 "2021-02-01T15:23:14Z")

</div>

@RichieRunner, if the webhook is needed, Codecov will automatically recreate it. It is likely that something got out of sync here, but glad that this fixed your issue.

---

<div class="post-metadata">

**Author:** ![RichieRunner](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/richierunner/32/1520_2.png) [@RichieRunner](https://community.codecov.com/u/RichieRunner)\
**Post date:** [February 1, 2021, 5:36pm UTC](https://community.codecov.com/t/webhook-http-400-invalid-signature/2517/4 "2021-02-01T17:36:36Z")

</div>

I thought so, but the webhook still hasn’t been re-created? How do I re-trigger the creation?

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [February 1, 2021, 9:33pm UTC](https://community.codecov.com/t/webhook-http-400-invalid-signature/2517/5 "2021-02-01T21:33:01Z")

</div>

@RichieRunner, if it is needed, we should be able to recreate it automatically. If it is working without, you should be good to go.!

---

<div class="post-metadata">

**Author:** ![RichieRunner](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/richierunner/32/1520_2.png) [@RichieRunner](https://community.codecov.com/u/RichieRunner)\
**Post date:** [February 2, 2021, 7:57pm UTC](https://community.codecov.com/t/webhook-http-400-invalid-signature/2517/6 "2021-02-02T19:57:43Z")

</div>

I’ve re-added my repo and got the webhook back, but now it is failing again. Can you please take a look with commit SHA: 7d6ca541c9e16fc53851271b262e4bb03b8f1570

```
  _____ _  
 / ____ | | |  
| | _____ | | ______  _______  
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /  
| |___| (_) | (_| |__/ (_| (_) \ V /  
 \ _____\___ / \ __,_|\___ |\ ___\___ / \_/  
                                v3.8.1
==> Detecting CI Provider
    AWS CodeBuild Detected
==> Configuration: 
    Endpoint: https://codecov.io
{ commit: '7d6ca541c9e16fc53851271b262e4bb03b8f1570',
  branch: 'HEAD',
  package: 'node-v3.8.1' }
==> Building file structure
==> Generating gcov reports (skip via --disable=gcov)
    $ find /codebuild/output/src307866776/src/github.com/RichieRunner/hello-world-cc/javascript/src -type f -name '*.gcno' -exec gcov {} +
    Failed to run gcov command.
==> Scanning for reports
    + /codebuild/output/src307866776/src/github.com/RichieRunner/hello-world-cc/javascript/src/coverage/lcov.info
    + /codebuild/output/src307866776/src/github.com/RichieRunner/hello-world-cc/javascript/src/coverage/clover.xml
==> Uploading reports
    Success!
    View report at: https://codecov.io/github/RichieRunner/hello-world-cc/commit/7d6ca541c9e16fc53851271b262e4bb03b8f1570

```

Also, why am I seeing this message?

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/f/f2930d321154ca3ff28499e8eed3f2a289d9ba19.png)

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [February 4, 2021, 3:21pm UTC](https://community.codecov.com/t/webhook-http-400-invalid-signature/2517/7 "2021-02-04T15:21:53Z")

</div>

@RichieRunner, I think it might have had to do with our service outage [here](https://status.codecov.io/incidents/y7d8b277d58d). I’m seeing a graph there now.
