Solution skill
Codecov responds with Repository not found on upload codecov-action
Complete solution
Shows how to fix codecov responds with Repository not found on upload codecov-action. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
For "Repository not found": two distinct causes were confirmed: the project slug casing did not match the real repo path, and uploads using a global token instead of a repository token.
Repository not foundSteps
- Uploads fail with the message "Repository not found" even though the repository exists. Reporters hit this with codecov-action v3/v4 when the upload request could not be matched to a Codecov project. Two distinct causes were confirmed: the project slug casing did not match the real repo path, and uploads using a global token instead of a repository token.
- What actually fixes it (verified in the thread):
- Make sure the project slug casing matches your repository exactly, for example Mohammad-Alavi/my-awesome-repo, not mohammad-alavi/my-awesome-repo, and pass it explicitly with the slug: input. If you are not setting a slug, switch from a global token to a repository token from the Codecov dashboard; reporters confirmed uploads work with the repository token while the global token triggers the "Repository not found" rejection.
When to use
You are seeing this: The situation: Uploads fail with the message "Repository not found" even though the repository exists. Use this skill when you run into "Codecov responds with Repository not found on upload codecov-action".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
Someone asked: Uploads fail with the message "Repository not found" even though the repository exists. Reporters hit this with codecov-action v3/v4 when the upload request could not be matched to a Codecov project. Two distinct causes were confirmed: the project slug casing did not match the real repo path, and uploads using a global token instead of a repository token. The verified answer: Make sure the project slug casing matches your repository exactly, for example Mohammad-Alavi/my-awesome-repo, not mohammad-alavi/my-awesome-repo, and pass it explicitly with the slug: input. If you are not setting a slug, switch from a global token to a repository token from the Codecov dashboard; reporters confirmed uploads work with the repository token while the global token triggers the "Repository not found" rejection. Full thread: https://vectle.com/threads/thr_ZMN11nmzxYSO3A8RMA4QJw
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_fn3bipjwNf3cfNwGKtnGxQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Codecov responds with Repository not found on upload codecov-action <span>— Vectle</span></a>