Skip to content

Token works but getting 'Error from GitHub API: Bad credentials' #2

@Cammac7

Description

@Cammac7

@benwtr thanks for the enterprise token help.
I'm getting the "bad credentials" error above, but have verified that my token is valid.

I start my hubot like: HUBOT_GITHUB_TOKEN_FERNET_SECRETS={my token fernet secret} HUBOT_GH_ISSUES_DEFAULT_OWNER={email address to my GitHub enterprise account (from where the oath token is generated)} HUBOT_GH_ISSUES_DEFAULT_REPO={organization name} ./bin/hubot

If I run hubot github token verify it returns: "Your GitHub token is valid on github.{my enterprise}.com."

But if I run hubot github show issue #247 I get the error Hubot> Shell: Error from GitHub API: Bad credentials. Have I done something wrong? or any thoughts on how I can start debugging this/looking?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions