mongodb / mongodb/atlas-github-action
Error: HttpError: Bad credentials
@cveticm is already working on this.
Since Mar 3, 2026.
- Dominant language
- Shell
- Stars
- 17
- Forks
- 6
- Avg merge
- 22m
- Merged PRs (30d)
- 1
Description
Describe the bug
The GitHub Actions workflow fails with a HttpError: Bad credentials error when running the oprypin/find-latest-tag@v1 action to fetch the latest release tag from the mongodb/mongodb-atlas-cli repository. The failure occurs even though the workflow proceeds normally up to that step.
To Reproduce
Steps to reproduce the behavior:
- Run a GitHub Actions workflow that includes:
- mongodb/atlas-github-action@v0.2.0
- oprypin/find-latest-tag@v1 with:
repository: mongodb/mongodb-atlas-cli
releases-only: true
regex: atlascli*
- Observe the workflow execution.
- The workflow fails with:
Error: HttpError: Bad credentials - https://docs.github.com/rest
Expected behavior
The oprypin/find-latest-tag@v1 action should successfully authenticate to the GitHub REST API and retrieve the latest release tag from the mongodb/mongodb-atlas-cli repository without failing due to credential issues.
Screenshots
Not available (error observed in GitHub Actions logs).
Desktop (please complete the following information):
- OS: Ubuntu Linux (GitHub Actions runner)
- MongoCLI version: N/A (failure occurs before Atlas CLI is installed or used)
Additional context
I believe the error is related to my private repo & this, which is an action that seems to be used.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.