# 404 on file view when the branch have a "/" character

**URL:** <https://community.codecov.com/t/404-on-file-view-when-the-branch-have-a-character/3455>\
**Category:** Support\
**Created:** [January 20, 2022, 12:20am UTC](https://community.codecov.com/t/404-on-file-view-when-the-branch-have-a-character/3455 "2022-01-20T00:20:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcarmet](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tcarmet/32/2295_2.png) [@tcarmet](https://community.codecov.com/u/tcarmet)\
**Post date:** [January 20, 2022, 12:20am UTC](https://community.codecov.com/t/404-on-file-view-when-the-branch-have-a-character/3455/1 "2022-01-20T00:20:43Z")

</div>

### Description

Hello dear Codecov community,

When trying to view the coverage of a specific file and the branch contains a `/` like the following: `bugfix/my-fix` the UI responds with a 404 error.

There’s no issue when we try to display the build via the commit or if the branch name doesn’t have a `/`

Here are two links for reference:  
branch: [Codecov](https://app.codecov.io/gh/scality/Arsenal/branch/bugfix%2FARSN-51-codecov-file-not-displaying)  
commit: [Codecov](https://codecov.io/gh/scality/Arsenal/commit/5d4b51c7ccdd6eb5ce5f145dbaba47403d247399/)

### CI/CD URL

[Github action build](https://github.com/scality/Arsenal/actions/runs/1720775925)

### Codecov Output

```auto
Run codecov/codecov-action@v2
==> 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.9
/home/runner/work/_actions/codecov/codecov-action/v2/dist/codecov -n -Q github-action-2.1.0
[2022-01-19T23:35:22.907Z] ['info'] 
     _____ _
    / ____ | | |
   | | _____ | | ______  _______
   | | / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |__/ (_| (_) \ V /
    \ _____\___ / \ __,_|\___ |\ ___\___ / \_/

  Codecov report uploader 0.1.15
[2022-01-19T23:35:22.915Z] ['info'] => Project root located at: /home/runner/work/Arsenal/Arsenal
[2022-01-19T23:35:22.917Z] ['info'] -> No token specified or token is empty
[2022-01-19T23:35:22.927Z] ['info'] Searching for coverage files...
[2022-01-19T23:35:22.986Z] ['info'] Warning: Some files located via search were excluded from upload.
[2022-01-19T23:35:22.986Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
[2022-01-19T23:35:22.986Z] ['info'] => Found 1 possible coverage files:
  coverage/lcov.info
[2022-01-19T23:35:22.987Z] ['info'] Processing /home/runner/work/Arsenal/Arsenal/coverage/lcov.info...
[2022-01-19T23:35:23.011Z] ['info'] Detected GitHub Actions as the CI provider.
[2022-01-19T23:35:23.013Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-2.1.0-uploader-0.1.15&token= ******* &branch=bugfix%2FARSN-51-codecov-file-not-displaying&build=1720775925&build_url=https%3A%2F%2Fgithub.com%2Fscality%2FArsenal%2Factions%2Fruns%2F1720775925&commit=5d4b51c7ccdd6eb5ce5f145dbaba47403d247399&job=tests&pr=&service=github-actions&slug=scality%2FArsenal&name=&tag=&flags=&parent=
[2022-01-19T23:35:24.228Z] ['info'] Uploading...
[2022-01-19T23:35:24.442Z] ['info'] {"status":"success","resultURL":"https://codecov.io/github/scality/Arsenal/commit/5d4b51c7ccdd6eb5ce5f145dbaba47403d247399"}

```

### Expected Results

When clicking on the following link [Codecov](https://app.codecov.io/gh/scality/Arsenal/blob/bugfix%2FARSN-51-codecov-file-not-displaying/index.js) I expect to see the file view with it’s coverage.

### Actual Results

I get a 404 error

### Additional Information

To reproduce the issue try creating a new branch with a `/` in the name and check if you are able to use the file view.

Thanks in advance for your help!

---

<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:** [January 26, 2022, 4:27pm UTC](https://community.codecov.com/t/404-on-file-view-when-the-branch-have-a-character/3455/2 "2022-01-26T16:27:56Z")

</div>

@tcarmet sorry for the delay here, I’ll have the product team take a look.

---

<div class="post-metadata">

**Author:** ![tcarmet](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tcarmet/32/2295_2.png) [@tcarmet](https://community.codecov.com/u/tcarmet)\
**Post date:** [January 28, 2022, 7:05pm UTC](https://community.codecov.com/t/404-on-file-view-when-the-branch-have-a-character/3455/3 "2022-01-28T19:05:06Z")

</div>

Thank you @tom, no worries about the delay.

If you need any additional information to help the product team please feel free to ask

Kind regards,

Thomas

---

<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:** [September 16, 2022, 3:04pm UTC](https://community.codecov.com/t/404-on-file-view-when-the-branch-have-a-character/3455/4 "2022-09-16T15:04:02Z")

</div>

@tcarmet thanks for the patience here. This should be resolved now.
