CodeCov API issue with special characters

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, if using GitHub
I have validated my codecov.yaml configuration file.
I have filled out the below sections to the best of my ability.
I understand that the community boards are a free, best-effort tool. While we hope to have someone on the Codecov team resolve your problem quickly, this is not always possible.


As per the API documentation used the suggested API link to get the coverage of a branch, but get an error as "detail": "Not found."
URL Used:
However the list branches API shows the 2.x branch. I assume the codecov API is not able to handle the special characters. Any suggestions here on how to use codecov API with branch name having .?

Also just to add the UI Codecov also works, but not the API.

@prudhvigodithi thanks, I’ll take a look. Looks like maybe the problem is the .

1 Like

Thanks @tom, just to add the following API URL again works, but branch was passed as part of the query parameter.

Hi @prudhvigodithi, this should be fixed now!

Thanks @tom, the following URL works now.

1 Like