microsoft/azure-pipelines-tasks

[BUG]: Workflow Labeler fails with error: npm error Unable to authenticate, your authentication token seems to be invalid.

abatishchev opened this issue · 3 comments

New issue checklist

Task name

N/A

Task version

N/A

Issue Description

Error:

npm error code E401
npm error Unable to authenticate, your authentication token seems to be invalid.
npm error To correct this please try logging in again with:
npm error   npm login

See https://github.com/microsoft/azure-pipelines-tasks/actions/runs/12340684271/job/34438443983#step:5:43

See also:

1.#18732
2. #17253

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container
  • N/A

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

N/A

Operation system

N/A

Relevant log output

N/A

Full task logs with system.debug enabled

N/A

Repro steps

N/A

Hi @v-schhabra,
Does every user who opens an issue in this repo need to create a token for the repo's housekeeping workflow (per my understanding what the Labeler does) could function?

Hi @abatishchev
No, users don’t need to create tokens for such workflows to function.

Hi @v-schhabra,
I'm like a regular user then. I just filed an issue in this repo and noticed the Labeler workflow has failed, hence filed this one.
Makes sense?