Graph Handler 404 error

Description

When trying to generate a sunburst graph for a commit in a private repo, I get the following error (even though I did supply the ?token argument in the url:

Graph Handler

GET /gh/SainsburyWellcomeCentre/aeon_mecha/commit/062b4e2cfb3e14e1d80ec167c3e2d2fc2bf19694/graphs/icicle.svg?token=973EC1CG03

HTTP 404 Not Found Allow: GET, HEAD, OPTIONS Content-Type: application/json Vary: Accept { “detail”: “Not found. Note: private repositories require ?token arguments” } Graph Handler

GET /gh/SainsburyWellcomeCentre/aeon_mecha/commit/062b4e2cfb3e14e1d80ec167c3e2d2fc2bf19694/graphs/icicle.svg?token=973EC1CG03

HTTP 404 Not Found Allow: GET, HEAD, OPTIONS Content-Type: application/json Vary: Accept { “detail”: “Not found. Note: private repositories require ?token arguments” }

CI/CD URL

Please provide a link to the CI/CD run.

Codecov Output

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

Run codecov/codecov-action@v2
  with:
    token: ab5c4418-b0c1-4c7e-9472-c484a8ed6906
    directory: ./tests/test_coverage/
    files: cov_report.xml
    fail_ci_if_error: true
    verbose: true
  env:
    CONDA: /usr/share/miniconda3
    CONDA_PKGS_DIR: /home/runner/conda_pkgs_dir
==> linux OS detected
https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (330066ecce62f2cdcfd2fe1845095475f51bbad9649dce81ac7b663dc884bbef  codecov)
==> Running version latest
==> Running version v0.1.15
/home/runner/work/_actions/codecov/codecov-action/v2/dist/codecov -n  -Q github-action-2.1.0 -Z -f cov_report.xml -s ./tests/test_coverage/ -v
[2022-02-01T20:08:49.526Z] ['verbose'] Start of uploader: 1643746129526...
[2022-02-01T20:08:49.527Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/

  Codecov report uploader 0.1.15
[2022-02-01T20:08:49.540Z] ['info'] => Project root located at: /home/runner/work/aeon_mecha/aeon_mecha
[2022-02-01T20:08:49.543Z] ['info'] ->  Token found by environment variables
[2022-02-01T20:08:49.544Z] ['verbose'] Start of network processing...
[2022-02-01T20:08:49.544Z] ['verbose'] Searching for files in /home/runner/work/aeon_mecha/aeon_mecha
[2022-02-01T20:08:49.549Z] ['info'] Searching for coverage files...
[2022-02-01T20:08:49.580Z] ['info'] Warning: Some files passed via the -f flag would normally be excluded from search.
[2022-02-01T20:08:49.580Z] ['info'] If Codecov encounters issues processing your reports, please review https://docs.codecov.com/docs/supported-report-formats
[2022-02-01T20:08:49.580Z] ['verbose'] Preparing to clean the following coverage paths: cov_report.xml,cov_report.xml
[2022-02-01T20:08:49.580Z] ['info'] => Found 1 possible coverage files:
  cov_report.xml
[2022-02-01T20:08:49.580Z] ['verbose'] End of network processing
[2022-02-01T20:08:49.580Z] ['info'] Processing tests/test_coverage/cov_report.xml...
[2022-02-01T20:08:49.584Z] ['info'] Detected GitHub Actions as the CI provider.
[2022-02-01T20:08:49.584Z] ['verbose'] -> Using the following env variables:
[2022-02-01T20:08:49.584Z] ['verbose']      GITHUB_ACTION: __codecov_codecov-action
[2022-02-01T20:08:49.584Z] ['verbose']      GITHUB_HEAD_REF: 
[2022-02-01T20:08:49.585Z] ['verbose']      GITHUB_REF: refs/heads/reorg
[2022-02-01T20:08:49.585Z] ['verbose']      GITHUB_REPOSITORY: SainsburyWellcomeCentre/aeon_mecha
[2022-02-01T20:08:49.585Z] ['verbose']      GITHUB_RUN_ID: 1780445508
[2022-02-01T20:08:49.585Z] ['verbose']      GITHUB_SERVER_URL: https://github.com
[2022-02-01T20:08:49.585Z] ['verbose']      GITHUB_SHA: 062b4e2cfb3e14e1d80ec167c3e2d2fc2bf19694
[2022-02-01T20:08:49.585Z] ['verbose']      GITHUB_WORKFLOW: build_env_run_tests
[2022-02-01T20:08:49.586Z] ['verbose'] Using the following upload parameters:
[2022-02-01T20:08:49.586Z] ['verbose'] branch
[2022-02-01T20:08:49.586Z] ['verbose'] build
[2022-02-01T20:08:49.586Z] ['verbose'] buildURL
[2022-02-01T20:08:49.586Z] ['verbose'] commit
[2022-02-01T20:08:49.586Z] ['verbose'] job
[2022-02-01T20:08:49.586Z] ['verbose'] pr
[2022-02-01T20:08:49.586Z] ['verbose'] service
[2022-02-01T20:08:49.586Z] ['verbose'] slug
[2022-02-01T20:08:49.586Z] ['verbose'] name
[2022-02-01T20:08:49.586Z] ['verbose'] tag
[2022-02-01T20:08:49.586Z] ['verbose'] flags
[2022-02-01T20:08:49.586Z] ['verbose'] parent
[2022-02-01T20:08:49.587Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-2.1.0-uploader-0.1.15&token=*******&branch=reorg&build=1780445508&build_url=https%3A%2F%2Fgithub.com%2FSainsburyWellcomeCentre%2Faeon_mecha%2Factions%2Fruns%2F1780445508&commit=062b4e2cfb3e14e1d80ec167c3e2d2fc2bf19694&job=build_env_run_tests&pr=&service=github-actions&slug=SainsburyWellcomeCentre%2Faeon_mecha&name=&tag=&flags=&parent=
[2022-02-01T20:08:49.587Z] ['verbose'] Passed token was 36 characters long
[2022-02-01T20:08:49.587Z] ['verbose'] https://codecov.io/upload/v4?package=github-action-2.1.0-uploader-0.1.15&branch=reorg&build=1780445508&build_url=https%3A%2F%2Fgithub.com%2FSainsburyWellcomeCentre%2Faeon_mecha%2Factions%2Fruns%2F1780445508&commit=062b4e2cfb3e14e1d80ec167c3e2d2fc2bf19694&job=build_env_run_tests&pr=&service=github-actions&slug=SainsburyWellcomeCentre%2Faeon_mecha&name=&tag=&flags=&parent=
        Content-Type: 'text/plain'
        Content-Encoding: 'gzip'
        X-Reduced-Redundancy: 'false'
[2022-02-01T20:08:49.732Z] ['verbose'] Returned upload url: https://codecov.io/github/SainsburyWellcomeCentre/aeon_mecha/commit/062b4e2cfb3e14e1d80ec167c3e2d2fc2bf19694
https://storage.googleapis.com/codecov/v4/raw/2022-02-01/509CF0D7C37BB8BF9F92F15968866048/062b4e2cfb3e14e1d80ec167c3e2d2fc2bf19694/fbb0b9cf-0d5f-4978-981b-9f9971326a82.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220201T200849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c9f7fba38b9ff592f930492a085ed7f0bb81581c9fe3a78864367ea8e48193b1
[2022-02-01T20:08:49.732Z] ['verbose'] https://storage.googleapis.com/codecov/v4/raw/2022-02-01/509CF0D7C37BB8BF9F92F15968866048/062b4e2cfb3e14e1d80ec167c3e2d2fc2bf19694/fbb0b9cf-0d5f-4978-981b-9f9971326a82.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220201T200849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c9f7fba38b9ff592f930492a085ed7f0bb81581c9fe3a78864367ea8e48193b1
        Content-Type: 'text/plain'
        Content-Encoding: 'gzip'
[2022-02-01T20:08:49.732Z] ['info'] Uploading...
[2022-02-01T20:08:49.956Z] ['info'] {"status":"success","resultURL":"https://codecov.io/github/SainsburyWellcomeCentre/aeon_mecha/commit/062b4e2cfb3e14e1d80ec167c3e2d2fc2bf19694"}
[2022-02-01T20:08:49.956Z] ['verbose'] End of uploader: 430 milliseconds

Expected Results

The graph to be properly generated.

Actual Results

A 404 error.

Additional Information

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

Hi @jkbhagatio this is strange, I’ll take a look to see why this is happening.