npm ERR! 401 Unauthorized - Unauthenticated: User cannot be authenticated with the token provided #40791
Unanswered
P91491
asked this question in
Enterprise
Replies: 1 comment 1 reply
-
Hi there @P91491 and welcome to our community! Thank you for asking a great question 🙂 To get started, introduce yourself in our official introduction thread |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
I am new to GitHub and I have created a ACTIONS in GitHub Enterprise 3.7 to publish the package to GitHub Package. But the job failed with log as below:
I have setup the Repository Token as shown below: enter image description here:

The value of Token I have retrieved from here enter image description here and assign to value for REPOSITORY secret NPM_TOKEN:

However, it just said the TOKEN cannot be authenticate. Any idea where I doing wrong?
***Add on - The ACTIONS will run success if I assign the TOKEN value where I get from my GitHub Access token (Setup in GitHub.com but not GitHub Enterprise), ACTION will run success. However, the published package will only show in my GitHub but not in my GitHub Enterprise.

GitHub Enterprise Account will not able to see that Published Package. enter image description here

Beta Was this translation helpful? Give feedback.
All reactions