mongodb / mongodb/atlas-github-action

Error: HttpError: Bad credentials

Open
#30 1 comment 0 reactions 1 assignee View on GitHub

@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:

  1. 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*
  1. Observe the workflow execution.
  2. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.