Skip to content

Error: HttpError: Bad credentials #30

Closed

Description

@konsloiz

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.

Activity

  1. cveticm commented on Mar 3, 2026

    @cveticm
    Collaborator

    Hi @konsloiz,

    Could you provide more details on your workflow?
    The atlas-github-action will automatically use the latest version of the AtlasCLI if you do not manually set it. See example with no version (uses latest) and example with version.

  2. self-assigned this
    on Mar 3, 2026
  3. github-actions commented on Oct 15, 2026

    @github-actions

    This issue has gone 30 days without any activity and meets the project’s definition of "stale". This will be auto-closed if there is no new activity over the next 30 days. If the issue is still relevant and active, you can simply comment with a "bump" to keep it open, or add the label "not_stale". Thanks for keeping our repository healthy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions