# Generic error uploading Coverage reports

**URL:** <https://community.codecov.com/t/generic-error-uploading-coverage-reports/3055>\
**Category:** Support\
**Created:** [July 19, 2021, 1:43pm UTC](https://community.codecov.com/t/generic-error-uploading-coverage-reports/3055 "2021-07-19T13:43:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mg-johncamerin](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mg-johncamerin](https://community.codecov.com/u/mg-johncamerin)\
**Post date:** [July 19, 2021, 1:43pm UTC](https://community.codecov.com/t/generic-error-uploading-coverage-reports/3055/1 "2021-07-19T13:43:36Z")

</div>

### Description

Starting sometime on July 16, we started getting an error on any attempt to upload coverage reports to CodeCov:  
[https://codecov.io](https://codecov.io/): Error: Error uploading to Codecov: Error: Not Found

Below is the output from our Jenkins console, which shows the commands we are running to upload, which were working prior to Friday. Worth noting, two days earlier on July 14, we switched from the bashuploader to the new uploader because the Bash Uploader had stopped working.

**16:14:14** + curl -Os [https://uploader.codecov.io/latest/linux/codecov](https://uploader.codecov.io/latest/linux/codecov)  
**16:14:14** + chmod +x codecov  
**16:14:14** + ./codecov -Z -t \*\*\*\*\*\*\*\* -F integrationTests -C 45c75991b193161eb568dee200fc00792994e03c  
**16:14:14**  
**16:14:14** \_\_\_\_\_ \_  
**16:14:14** / _| | |  
 **16:14:14** | | \_\_\_ \_\_| | \_\_\_ \_\_\_ \_\_\_\_\_ \_\_  
 **16:14:14** | | / \_ \ / ` |/ \_ / **/ \_ \ \ / /  
 16:14:14 | |**| () | (| | \_\_/ (| (_) \ V /  
**16:14:14** \_\_\__\_\_\_/ \_,_|\_ **|\_** \_\_\_/ \_/  
**16:14:14**  
**16:14:14** Codecov report uploader 0.1.0  
**16:14:14** =\> Project root located at: /home/jenkins/fs/workspace/ars-accelerator\_release-21.3.0.0 **16:14:14** Searching for coverage files…  
**16:14:22** =\> Found 1 possible coverage files: \*  
_16:14:22_\* integration-tests/target/site/jacoco/jacoco.xml  
**16:14:22** Processing integration-tests/target/site/jacoco/jacoco.xml…  
**16:14:22** Detected Jenkins CI as the CI provider.  
**16:14:22** Pinging Codecov: [https://codecov.io/upload/v4?package=uploader-0.1.0&token=\*\*\*\*\*\*\*&branch=release-21.3.0.0&build=10&build\_url=https%3A%2F%2Fjenkins.v0.messagegearslabs.com%2Fjob%2Faccelerator-omnibranch%2Fjob%2Fmessagegears-accelerator%2Fjob%2Frelease-21.3.0.0%2F10%2F&commit=45c75991b193161eb568dee200fc00792994e03c&job=&pr=&service=jenkins&slug=&name=&tag=&flags=integrationTests&parent=](https://codecov.io/upload/v4?package=uploader-0.1.0&token= ******* &branch=release-21.3.0.0&build=10&build_url=https%3A%2F%2Fjenkins.v0.messagegearslabs.com%2Fjob%2Faccelerator-omnibranch%2Fjob%2Fmessagegears-accelerator%2Fjob%2Frelease-21.3.0.0%2F10%2F&commit=45c75991b193161eb568dee200fc00792994e03c&job=&pr=&service=jenkins&slug=&name=&tag=&flags=integrationTests&parent=)  
**16:14:22** Error!: Error: Error uploading to [https://codecov.io](https://codecov.io/): Error: Error uploading to Codecov: Error: Not Found

### Commit SHAs

007954bac84d07bc672dab17cd30f31a1a26e2b5

### Repository

A link to the repository in question  
[https://bitbucket.org/messagegears/messagegears-accelerator/](https://bitbucket.org/messagegears/messagegears-accelerator/)

### CI/CD or Build URL

[Jenkins 2.281](https://jenkins.io/)

### Uploader

[https://uploader.codecov.io/latest/linux/codecov](https://uploader.codecov.io/latest/linux/codecov)

### Codecov Output

**16:14:14**  
**16:14:14** \_\_\_\_\_ \_  
**16:14:14** / _| | |  
 **16:14:14** | | \_\_\_ \_\_| | \_\_\_ \_\_\_ \_\_\_\_\_ \_\_  
 **16:14:14** | | / \_ \ / ` |/ \_ / **/ \_ \ \ / /  
 16:14:14 | |**| () | (| | \_\_/ (| (_) \ V /  
**16:14:14** \_\_\__\_\_\_/ \_,_|\_ **|\_** \_\_\_/ \_/  
**16:14:14**  
**16:14:14** Codecov report uploader 0.1.0  
**16:14:14** =\> Project root located at: /home/jenkins/fs/workspace/ars-accelerator\_release-21.3.0.0 **16:14:14** Searching for coverage files…  
**16:14:22** =\> Found 1 possible coverage files: \*  
_16:14:22_\* integration-tests/target/site/jacoco/jacoco.xml  
**16:14:22** Processing integration-tests/target/site/jacoco/jacoco.xml…  
**16:14:22** Detected Jenkins CI as the CI provider.  
**16:14:22** Pinging Codecov: [https://codecov.io/upload/v4?package=uploader-0.1.0&token=\*\*\*\*\*\*\*&branch=release-21.3.0.0&build=10&build\_url=https%3A%2F%2Fjenkins.v0.messagegearslabs.com%2Fjob%2Faccelerator-omnibranch%2Fjob%2Fmessagegears-accelerator%2Fjob%2Frelease-21.3.0.0%2F10%2F&commit=45c75991b193161eb568dee200fc00792994e03c&job=&pr=&service=jenkins&slug=&name=&tag=&flags=integrationTests&parent=](https://codecov.io/upload/v4?package=uploader-0.1.0&token= ******* &branch=release-21.3.0.0&build=10&build_url=https%3A%2F%2Fjenkins.v0.messagegearslabs.com%2Fjob%2Faccelerator-omnibranch%2Fjob%2Fmessagegears-accelerator%2Fjob%2Frelease-21.3.0.0%2F10%2F&commit=45c75991b193161eb568dee200fc00792994e03c&job=&pr=&service=jenkins&slug=&name=&tag=&flags=integrationTests&parent=)  
**16:14:22** Error!: Error: Error uploading to [https://codecov.io](https://codecov.io/): Error: Error uploading to Codecov: Error: Not Found

### Expected Results

Successful upload

### Actual Results

Error provided

### Additional Information

---

<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:** [July 19, 2021, 8:33pm UTC](https://community.codecov.com/t/generic-error-uploading-coverage-reports/3055/2 "2021-07-19T20:33:02Z")

</div>

@mg-johncamerin I’ll push a fix for this today or tomorrow. Can you confirm that the env variable `VCS_SLUG` exists in the Jenkins environment?

---

<div class="post-metadata">

**Author:** ![embeddedt](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/embeddedt/32/1994_2.png) [@embeddedt](https://community.codecov.com/u/embeddedt)\
**Post date:** [July 19, 2021, 9:16pm UTC](https://community.codecov.com/t/generic-error-uploading-coverage-reports/3055/3 "2021-07-19T21:16:51Z")

</div>

Hi, I ran into the same issue with the v2 uploader. Here is a Gist with [relevant configs and information](https://gist.github.com/embeddedt/ef5d96d3482c760351caf444732ac5ae). This is a Django app and I use `coverage.py` to generate coverage reports from the Django unit tests.

Downgrading to v1 seems to have fixed the issue.

---

<div class="post-metadata">

**Author:** ![mg-johncamerin](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mg-johncamerin](https://community.codecov.com/u/mg-johncamerin)\
**Post date:** [July 19, 2021, 9:46pm UTC](https://community.codecov.com/t/generic-error-uploading-coverage-reports/3055/4 "2021-07-19T21:46:21Z")

</div>

VCS\_SLUG does not exist

Added this to my Jenkins pipeline

```auto
echo "Validating VCS_SLUG:${env.VCS_SLUG}"

```

and it spit out

```auto
Validating VCS_SLUG:null

```

Also tried

```auto
sh 'echo $VCS_SLUG'

```

and got nothing

---

<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:** [July 20, 2021, 12:54am UTC](https://community.codecov.com/t/generic-error-uploading-coverage-reports/3055/5 "2021-07-20T00:54:05Z")

</div>

@mg-johncamerin got it, thanks for confirming. I went down the wrong rabbit hole first.

---

<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:** [July 21, 2021, 6:35pm UTC](https://community.codecov.com/t/generic-error-uploading-coverage-reports/3055/6 "2021-07-21T18:35:24Z")

</div>

@mg-johncamerin I made an update to the uploader, are you able to try v2 again?

---

<div class="post-metadata">

**Author:** ![mg-johncamerin](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mg-johncamerin](https://community.codecov.com/u/mg-johncamerin)\
**Post date:** [July 22, 2021, 7:36pm UTC](https://community.codecov.com/t/generic-error-uploading-coverage-reports/3055/7 "2021-07-22T19:36:49Z")

</div>

Yes. It is working now. Thank you
