# Gitlab - codecov not posting comments in pr, team bot is missing

**URL:** https://community.codecov.com/t/gitlab-codecov-not-posting-comments-in-pr-team-bot-is-missing/3908
**Category:** Support
**Created:** [October 10, 2022, 5:57pm UTC](https://community.codecov.com/t/gitlab-codecov-not-posting-comments-in-pr-team-bot-is-missing/3908 "2022-10-10T17:57:35Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![x.laylatichy.x](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/x.laylatichy.x/32/2672_2.png) [@x.laylatichy.x](https://community.codecov.com/u/x.laylatichy.x)
#### Post date: [October 10, 2022, 5:57pm UTC](https://community.codecov.com/t/gitlab-codecov-not-posting-comments-in-pr-team-bot-is-missing/3908/1 "2022-10-10T17:57:36Z")

</div>

## Before submitting a topic, please confirm the following

I have searched for similar issues before creating this topic.  
 I have verified that my repository is using the [Codecov GitHub app](https://github.com/apps/codecov), if using GitHub  
 I have [validated](https://docs.codecov.com/docs/codecov-yaml#validate-your-repository-yaml) my `codecov.yaml` configuration file.  
 I have filled out the below sections to the best of my ability.

### Description

gitlab CI team bot is missing

### CI/CD URL

private repo, will attach logs

### Codecov Output

Please provide the full output of running the uploader on your CI/CD. This will typically have the Codecov logo as ASCII.

```auto
$ wget https://uploader.codecov.io/latest/alpine/codecov
Connecting to uploader.codecov.io (172.67.39.77:443)
saving to 'codecov'
codecov 44% | ************** | 19.1M 0:00:01 ETA
codecov 87% | **************************** | 37.7M 0:00:00 ETA
codecov 100% | ******************************** | 42.9M 0:00:00 ETA
'codecov' saved
$ chmod +x codecov
$ ./codecov -f coverage/clover.xml -t $CODECOV_TOKEN
[2022-10-10T17:17:46.271Z] ['info'] 
     _____ _
    / ____ | | |
   | | _____ | | ______  _______
   | | / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |__/ (_| (_) \ V /
    \ _____\___ / \ __,_|\___ |\ ___\___ / \_/
  Codecov report uploader 0.3.2
[2022-10-10T17:17:46.277Z] ['info'] => Project root located at: /builds/laylatichy_projects/reshepe/clients/web
[2022-10-10T17:17:46.285Z] ['info'] -> Token found by arguments
[2022-10-10T17:17:46.293Z] ['info'] Searching for coverage files...
[2022-10-10T17:17:46.348Z] ['info'] => Found 1 possible coverage files:
  coverage/clover.xml
[2022-10-10T17:17:46.348Z] ['info'] Processing /builds/laylatichy_projects/reshepe/clients/web/coverage/clover.xml...
[2022-10-10T17:17:46.351Z] ['info'] Detected GitLab CI as the CI provider.
[2022-10-10T17:17:46.352Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.3.2&token= ******* &branch=release&build=3151933253&build_url=&commit=206377339969e6ac6235dfc7f477dad9466eb1e8&job=&pr=&service=gitlab&slug=laylatichy_projects%2Freshepe%2Fclients%2Fweb&name=&tag=&flags=&parent=
[2022-10-10T17:17:46.646Z] ['info'] https://app.codecov.io/gitlab/laylatichy_projects:reshepe:clients/web/commit/206377339969e6ac6235dfc7f477dad9466eb1e8
https://storage.googleapis.com/codecov/v4/raw/2022-10-10/B2F9CF6AB68742853B116AF344AA5BD3/206377339969e6ac6235dfc7f477dad9466eb1e8/eb79e13a-8564-480e-934f-a59bda03233a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T171746Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e47053b323eea1aa319e02bd706544cc514a0dc94a31e6a93f5fe928b4b44b9b
[2022-10-10T17:17:46.646Z] ['info'] Uploading...
[2022-10-10T17:17:47.007Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/gitlab/laylatichy_projects:reshepe:clients/web/commit/206377339969e6ac6235dfc7f477dad9466eb1e8"}
Cleaning up project directory and file based variables
00:00
Job succeeded

```

### Expected Results

Post comment on pr, add codecov/patch and codecov/project to CI

### Actual Results

team bot is missing

### Additional Information

project codecov.yml

```auto
codecov:
    bot: x.laylatichy.x
    require_ci_to_pass: false

coverage:
    status:
        project:
            default:
                target: 80%
        patch:
            default:
                target: 80%

flag_management:
    default_rules:
        carryforward: true

comment:
    require_changes: false

```

codecov.yml detected on the website

 ![Screenshot 2022-10-10 184722](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/4/4a67307c9587d9fdf919d2047bc471c01d2ee397.png)

error

 ![Screenshot 2022-10-10 184840](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/c/c97e751c8ceb8d50c9ac8554bc5e009bd7dd60c0.png)

I saw in the other threads mentioning of webhook

**[https://codecov.io/webhooks/gitlab](https://codecov.io/webhooks/gitlab)**

but couldn’t find any info in the documentation

cheers

---

<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: [October 12, 2022, 8:17pm UTC](https://community.codecov.com/t/gitlab-codecov-not-posting-comments-in-pr-team-bot-is-missing/3908/2 "2022-10-12T20:17:56Z")

</div>

Hi @x.laylatichy.x, this is strange, but I’m wondering if there’s just a bad token in our system. Do you mind logging out, clearing all Codecov cookies, and logging back in? I would see if a new commit then would resolve that error message.

---

<div class="post-metadata">

### Author: ![x.laylatichy.x](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/x.laylatichy.x/32/2672_2.png) [@x.laylatichy.x](https://community.codecov.com/u/x.laylatichy.x)
#### Post date: [October 22, 2022, 11:34pm UTC](https://community.codecov.com/t/gitlab-codecov-not-posting-comments-in-pr-team-bot-is-missing/3908/3 "2022-10-22T23:34:41Z")

</div>

Hi @tom, thanks for the reply,

Yeah I tried that already I’m just running codecov exec in verbose mode so i’ll post the output here,

that’s the output on pr to the default branch

```auto
$ chmod +x codecov
$ ./codecov -f coverage/clover.xml -t $CODECOV_TOKEN -v
[2022-10-22T23:33:54.035Z] ['verbose'] Start of uploader: 1666481634035...
[2022-10-22T23:33:54.037Z] ['info'] 
     _____ _
    / ____ | | |
   | | _____ | | ______  _______
   | | / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |__/ (_| (_) \ V /
    \ _____\___ / \ __,_|\___ |\ ___\___ / \_/
  Codecov report uploader 0.3.2
[2022-10-22T23:33:54.041Z] ['info'] => Project root located at: /builds/laylatichy_projects/reshepe/clients/web
[2022-10-22T23:33:54.049Z] ['info'] -> Token found by arguments
[2022-10-22T23:33:54.050Z] ['verbose'] Start of network processing...
[2022-10-22T23:33:54.050Z] ['verbose'] Searching for files in /builds/laylatichy_projects/reshepe/clients/web
[2022-10-22T23:33:54.059Z] ['verbose'] coveragepy is not installed
[2022-10-22T23:33:54.059Z] ['info'] Searching for coverage files...
[2022-10-22T23:33:54.116Z] ['verbose'] Preparing to clean the following coverage paths: coverage/clover.xml,coverage/clover.xml
[2022-10-22T23:33:54.119Z] ['info'] => Found 1 possible coverage files:
  coverage/clover.xml
[2022-10-22T23:33:54.119Z] ['verbose'] End of network processing
[2022-10-22T23:33:54.119Z] ['info'] Processing /builds/laylatichy_projects/reshepe/clients/web/coverage/clover.xml...
[2022-10-22T23:33:54.123Z] ['info'] Detected GitLab CI as the CI provider.
[2022-10-22T23:33:54.123Z] ['verbose'] -> Using the following env variables:
[2022-10-22T23:33:54.123Z] ['verbose'] CI_BUILD_ID: 3213677920
[2022-10-22T23:33:54.123Z] ['verbose'] CI_BUILD_REF: 10cc2ba67a720ebd10bc74b28473b6c6dae4dd68
[2022-10-22T23:33:54.123Z] ['verbose'] CI_BUILD_REF_NAME: version/0.0.41
[2022-10-22T23:33:54.123Z] ['verbose'] CI_BUILD_REPO: undefined
[2022-10-22T23:33:54.124Z] ['verbose'] CI_COMMIT_REF_NAME: version/0.0.41
[2022-10-22T23:33:54.124Z] ['verbose'] CI_COMMIT_SHA: 10cc2ba67a720ebd10bc74b28473b6c6dae4dd68
[2022-10-22T23:33:54.124Z] ['verbose'] CI_JOB_ID: 3213677920
[2022-10-22T23:33:54.124Z] ['verbose'] CI_MERGE_REQUEST_SOURCE_BRANCH_SHA: 
[2022-10-22T23:33:54.124Z] ['verbose'] CI_PROJECT_PATH: laylatichy_projects/reshepe/clients/web
[2022-10-22T23:33:54.124Z] ['verbose'] CI_REPOSITORY_URL: https://gitlab-ci-token:laylatichy@gitlab.com/laylatichy_projects/reshepe/clients/web.git
[2022-10-22T23:33:54.124Z] ['verbose'] GITLAB_CI: true
[2022-10-22T23:33:54.124Z] ['verbose'] Using the following upload parameters:
[2022-10-22T23:33:54.124Z] ['verbose'] branch
[2022-10-22T23:33:54.124Z] ['verbose'] build
[2022-10-22T23:33:54.124Z] ['verbose'] buildURL
[2022-10-22T23:33:54.124Z] ['verbose'] commit
[2022-10-22T23:33:54.124Z] ['verbose'] job
[2022-10-22T23:33:54.124Z] ['verbose'] pr
[2022-10-22T23:33:54.124Z] ['verbose'] service
[2022-10-22T23:33:54.124Z] ['verbose'] slug
[2022-10-22T23:33:54.124Z] ['verbose'] name
[2022-10-22T23:33:54.124Z] ['verbose'] tag
[2022-10-22T23:33:54.124Z] ['verbose'] flags
[2022-10-22T23:33:54.124Z] ['verbose'] parent
[2022-10-22T23:33:54.125Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.3.2&token= ******* &branch=version%2F0.0.41&build=3213677920&build_url=&commit=10cc2ba67a720ebd10bc74b28473b6c6dae4dd68&job=&pr=&service=gitlab&slug=laylatichy_projects%2Freshepe%2Fclients%2Fweb&name=&tag=&flags=&parent=
[2022-10-22T23:33:54.125Z] ['verbose'] Passed token was 36 characters long
[2022-10-22T23:33:54.125Z] ['verbose'] https://codecov.io/upload/v4?package=uploader-0.3.2&branch=version%2F0.0.41&build=3213677920&build_url=&commit=10cc2ba67a720ebd10bc74b28473b6c6dae4dd68&job=&pr=&service=gitlab&slug=laylatichy_projects%2Freshepe%2Fclients%2Fweb&name=&tag=&flags=&parent=
        Content-Type: 'text/plain'
        Content-Encoding: 'gzip'
        X-Reduced-Redundancy: 'false'
[2022-10-22T23:33:54.406Z] ['info'] https://app.codecov.io/gitlab/laylatichy_projects:reshepe:clients/web/commit/10cc2ba67a720ebd10bc74b28473b6c6dae4dd68
https://storage.googleapis.com/codecov/v4/raw/2022-10-22/B2F9CF6AB68742853B116AF344AA5BD3/10cc2ba67a720ebd10bc74b28473b6c6dae4dd68/bd0b4c46-f50e-47c0-ab21-2b7d9800a6f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221022%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221022T233354Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e87fa833f90722268ecd9f077ad64e33182c6bc24c30a304916fdf64212da471
[2022-10-22T23:33:54.407Z] ['verbose'] Returned upload url: https://storage.googleapis.com/codecov/v4/raw/2022-10-22/B2F9CF6AB68742853B116AF344AA5BD3/10cc2ba67a720ebd10bc74b28473b6c6dae4dd68/bd0b4c46-f50e-47c0-ab21-2b7d9800a6f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221022%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221022T233354Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e87fa833f90722268ecd9f077ad64e33182c6bc24c30a304916fdf64212da471
[2022-10-22T23:33:54.407Z] ['info'] Uploading...
[2022-10-22T23:33:54.725Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/gitlab/laylatichy_projects:reshepe:clients/web/commit/10cc2ba67a720ebd10bc74b28473b6c6dae4dd68"}
[2022-10-22T23:33:54.725Z] ['verbose'] End of uploader: 690 milliseconds
Cleaning up project directory and file based variables
00:00
Job succeeded

```

edit: just tried with a fresh gitlab and codecov account

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

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

tried username with @, without, tried email address, same issue

---

<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: [October 24, 2022, 3:41am UTC](https://community.codecov.com/t/gitlab-codecov-not-posting-comments-in-pr-team-bot-is-missing/3908/4 "2022-10-24T03:41:41Z")

</div>

@x.laylatichy.x have you tried doing

```auto
codecov:
  bot: codecov_laylatichy

```

---

<div class="post-metadata">

### Author: ![x.laylatichy.x](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/x.laylatichy.x/32/2672_2.png) [@x.laylatichy.x](https://community.codecov.com/u/x.laylatichy.x)
#### Post date: [October 24, 2022, 8:17am UTC](https://community.codecov.com/t/gitlab-codecov-not-posting-comments-in-pr-team-bot-is-missing/3908/5 "2022-10-24T08:17:31Z")

</div>

@tom

> [@x.laylatichy.x](#):
>
> tried username with @, **without**

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/8/8bdf706c22972ef715c7f7c3334f510f126abd47.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: [October 24, 2022, 2:59pm UTC](https://community.codecov.com/t/gitlab-codecov-not-posting-comments-in-pr-team-bot-is-missing/3908/6 "2022-10-24T14:59:02Z")

</div>

@x.laylatichy.x are you setting this in the [global yaml](https://docs.codecov.com/docs/codecov-yaml#global-yaml) section?
