# Too many uploads to this commit

**URL:** <https://community.codecov.com/t/too-many-uploads-to-this-commit/2574>\
**Category:** Support\
**Tags:** github\
**Created:** [February 19, 2021, 1:45am UTC](https://community.codecov.com/t/too-many-uploads-to-this-commit/2574 "2021-02-19T01:45:11Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![lcharette](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/lcharette/32/1571_2.png) [@lcharette](https://community.codecov.com/u/lcharette)\
**Post date:** [February 19, 2021, 1:45am UTC](https://community.codecov.com/t/too-many-uploads-to-this-commit/2574/1 "2021-02-19T01:45:12Z")

</div>

### Description

When uploading a report using GitHub Actions, I get the `Too many uploads to this commit` error. This happens mostly for my actions that are on a Cronjob. The example below applies to one repo, but this happened with all my repos in the last 2-3 weeks (private and public repos).

### Commit SHAs

c9310f45e555e99626bd6effb66c4ce66feafaa8

### Repository

> **[GitHub - userfrosting/support: Support classes for UserFrosting and UF modules.](https://github.com/userfrosting/support)**
>
> Support classes for UserFrosting and UF modules.

### CI/CD or Build URL

> <https://github.com/userfrosting/support/blob/master/.github/workflows/Build.yml>

### Uploader

GitHub Actions (codecov/codecov-action@v1)

### Codecov Output

```auto

7
  _____ _
8
 / ____ | | |
9
| | _____ | | ______  _______
10
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
11
| |___| (_) | (_| |__/ (_| (_) \ V /
12
 \ _____\___ / \ __,_|\___ |\ ___\___ / \_/
13
                              Bash-20210129-7c25fce
14

15

16
==> git version 2.30.0 found
17
==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
18
Release-Date: 2020-01-08
19
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
20
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
21
==> GitHub Actions detected.
22
    project root: .
23
    Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
24
    -> Found 1 reports
25
==> Detecting git/mercurial file structure
26
==> Reading reports
27
    + ./_meta/coverage.xml bytes=19981
28
==> Appending adjustments
29
    https://docs.codecov.io/docs/fixing-reports
30
    + Found adjustments
31
==> Gzipping contents
32
        4.0K	/tmp/codecov.Fys0Pg.gz
33
==> Uploading reports
34
    url: https://codecov.io
35
    query: branch=master&commit=c9310f45e555e99626bd6effb66c4ce66feafaa8&build=579923383&build_url=http%3A%2F%2Fgithub.com%2Fuserfrosting%2Fsupport%2Factions%2Fruns%2F579923383&name=&tag=&slug=userfrosting%2Fsupport&service=github-actions&flags=&pr=&job=Build&cmd_args=n,F,Q,Z,f
36
-> Pinging Codecov
37
https://codecov.io/upload/v4?package=github-action-20210129-7c25fce&token=secret&branch=master&commit=c9310f45e555e99626bd6effb66c4ce66feafaa8&build=579923383&build_url=http%3A%2F%2Fgithub.com%2Fuserfrosting%2Fsupport%2Factions%2Fruns%2F579923383&name=&tag=&slug=userfrosting%2Fsupport&service=github-actions&flags=&pr=&job=Build&cmd_args=n,F,Q,Z,f
38
[ErrorDetail(string='Too many uploads to this commit.', code='invalid')]
39
400
40
Error: Codecov failed with the following error: The process '/usr/bin/bash' failed with exit code 1

```

### Expected Results

Upload success

### Actual Results

400 error : [ErrorDetail(string=‘Too many uploads to this commit.’, code=‘invalid’)]  
[https://github.com/userfrosting/support/runs/1931752486?check\_suite\_focus=true#step:6:38](https://github.com/userfrosting/support/runs/1931752486?check_suite_focus=true#step:6:38)

---

<div class="post-metadata">

**Author:** ![nmoinvaz](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/nmoinvaz/32/388_2.png) [@nmoinvaz](https://community.codecov.com/u/nmoinvaz)\
**Post date:** [February 23, 2021, 4:41am UTC](https://community.codecov.com/t/too-many-uploads-to-this-commit/2574/2 "2021-02-23T04:41:12Z")

</div>

@tom we have been receiving the same error since about the same time frame on `zlib-ng`.

[Reduce number of mingw i686 parallel test runs due to wine errors. · nmoinvaz/zlib-ng@5af07ed (github.com)](https://github.com/nmoinvaz/zlib-ng/runs/1943728808)

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

[.github: Test with old gcc and clang by using oldest supported ubuntu. · zlib-ng/zlib-ng@43eecaf](https://github.com/zlib-ng/zlib-ng/runs/1929648147?check_suite_focus=true)

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

It happens in our forks and also in the main repository. It happens in only one of the CI instances, and the instance that fails is not consistent every time.

This issue also seems to be reported here:  
[CI failure due to - Too many uploads to this commit - Support - Codecov](https://community.codecov.com/t/ci-failure-due-to-too-many-uploads-to-this-commit/2587)

---

<div class="post-metadata">

**Author:** ![altendky](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/altendky/32/519_2.png) [@altendky](https://community.codecov.com/u/altendky)\
**Post date:** [February 23, 2021, 2:14pm UTC](https://community.codecov.com/t/too-many-uploads-to-this-commit/2574/4 "2021-02-23T14:14:43Z")

</div>

Also reported at [Codecov upload failing with 'Too many uploads to this commit.' · Issue #38 · altendky/ssst · GitHub](https://github.com/altendky/ssst/issues/38) and [Getting error: [ErrorDetail(string='Too many uploads to this commit.', code='invalid')] · Issue #228 · codecov/codecov-action · GitHub](https://github.com/codecov/codecov-action/issues/228). It happens only in one of my repositories (ssst) and I do have other repos doing nightly builds with more jobs (qtrio).

---

<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 23, 2021, 3:49pm UTC](https://community.codecov.com/t/too-many-uploads-to-this-commit/2574/5 "2021-02-23T15:49:23Z")

</div>

Hi all, we have rolled out a fix for the `Too many uploads` issue. Please let me know if you still experience it.

---

<div class="post-metadata">

**Author:** ![lcharette](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/lcharette/32/1571_2.png) [@lcharette](https://community.codecov.com/u/lcharette)\
**Post date:** [February 23, 2021, 5:14pm UTC](https://community.codecov.com/t/too-many-uploads-to-this-commit/2574/6 "2021-02-23T17:14:23Z")

</div>

As posted in the other thred.

Got the `Actions workflow run is stale` on one repo and the `too many upload` on another one, but all other repos (~6-8 of them) I re-run the build and they where fine.

See here :

[https://github.com/lcharette/UF\_FormGeneratorExample/runs/1963121168?check\_suite\_focus=true#step:11:42](https://github.com/lcharette/UF_FormGeneratorExample/runs/1963121168?check_suite_focus=true#step:11:42)

[https://github.com/lcharette/UF\_UserProfile/runs/1963120876?check\_suite\_focus=true#step:14:47](https://github.com/lcharette/UF_UserProfile/runs/1963120876?check_suite_focus=true#step:14:47)

---

<div class="post-metadata">

**Author:** ![lcharette](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/lcharette/32/1571_2.png) [@lcharette](https://community.codecov.com/u/lcharette)\
**Post date:** [February 25, 2021, 2:24am UTC](https://community.codecov.com/t/too-many-uploads-to-this-commit/2574/7 "2021-02-25T02:24:55Z")

</div>

FYI, rerun workflow on three of my repos. Two passed, `too many uploads` on the 3rd.

[https://github.com/lcharette/UF\_FormGeneratorExample/runs/1975434610?check\_suite\_focus=true#step:11:42](https://github.com/lcharette/UF_FormGeneratorExample/runs/1975434610?check_suite_focus=true#step:11:42)

---

<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 25, 2021, 3:39pm UTC](https://community.codecov.com/t/too-many-uploads-to-this-commit/2574/8 "2021-02-25T15:39:20Z")

</div>

@lcharette, I believe this is because you do have too many uploads (e.g. [uploads](https://codecov.io/gh/lcharette/UF_FormGeneratorExample/commit/0dbbff951ba846ddca9230f4c3acd6584dfa4edd/build))

We have fixed an issue on our side that was not properly alerting users to this issue.

---

<div class="post-metadata">

**Author:** ![lcharette](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/lcharette/32/1571_2.png) [@lcharette](https://community.codecov.com/u/lcharette)\
**Post date:** [February 26, 2021, 12:56am UTC](https://community.codecov.com/t/too-many-uploads-to-this-commit/2574/9 "2021-02-26T00:56:57Z")

</div>

Hum… would be interesting to be documented on your side. And I guess it would make sense for Cron Jobs to exclude Coverage uploads…

---

<div class="post-metadata">

**Author:** ![nmoinvaz](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/nmoinvaz/32/388_2.png) [@nmoinvaz](https://community.codecov.com/u/nmoinvaz)\
**Post date:** [February 26, 2021, 1:28am UTC](https://community.codecov.com/t/too-many-uploads-to-this-commit/2574/10 "2021-02-26T01:28:18Z")

</div>

I haven’t seen it anymore in recent CI runs. Thank you!

---

<div class="post-metadata">

**Author:** ![adamtheturtle](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/adamtheturtle/32/1028_2.png) [@adamtheturtle](https://community.codecov.com/u/adamtheturtle)\
**Post date:** [April 20, 2021, 1:44am UTC](https://community.codecov.com/t/too-many-uploads-to-this-commit/2574/11 "2021-04-20T01:44:09Z")

</div>

I am still seeing this.  
I do have a lot of uploads but this is necessary to make my build fast (highly parallelised build).

---

<div class="post-metadata">

**Author:** ![adamtheturtle](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/adamtheturtle/32/1028_2.png) [@adamtheturtle](https://community.codecov.com/u/adamtheturtle)\
**Post date:** [May 2, 2021, 3:00pm UTC](https://community.codecov.com/t/too-many-uploads-to-this-commit/2574/12 "2021-05-02T15:00:03Z")

</div>

@tom My use case is that I run my tests on the `master` branch nightly. The tests interact with an external service and so I want to be notified if they start to fail. If I do not commit to `master`, I will hit this error after a couple of days. Is there some way to get an increased limit? (paying is OK with me).

---

<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:** [May 5, 2021, 3:31pm UTC](https://community.codecov.com/t/too-many-uploads-to-this-commit/2574/13 "2021-05-05T15:31:30Z")

</div>

@adamtheturtle I think your situation is more unique. Can you open a new topic for this?
