GitHub Actions "An action could not be found at the URI"
A uses: value resolves to a repo + ref + optional subpath that must contain an action.yml. If any part is wrong, GitHub cannot fetch the action and fails at startup.
What this error means
The run fails before jobs start with "An action could not be found at the URI" naming the uses reference, often after a typo, a deleted tag, or a wrong subdirectory.
Error: An action could not be found at the URI 'https://api.github.com/repos/org/action/tarball/v9'Common causes
Wrong ref or tag
The pinned tag/branch/SHA in uses does not exist (typo, deleted release), so the tarball URI 404s.
Missing action.yml at the path
A subdirectory uses reference points at a folder with no action.yml.
How to fix it
Correct the uses reference
- Verify the owner/repo and that the ref (tag/branch/SHA) exists.
- For a subdirectory action, ensure the path holds an action.yml.
- Pin to a known-good release or commit SHA.
- uses: actions/setup-node@v4
# subdir action:
- uses: org/repo/.github/actions/build@v1How to prevent it
- Pin actions to existing tags or SHAs and keep them current.
- Confirm subdirectory action paths contain action.yml.
- Lint uses references so dead refs are caught early.