# I can't seem to link my account to my npmjs.com account

**URL:** <https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216>\
**Category:** General\
**Created:** [22 November 2026 13:18 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216 "2026-11-22T13:18:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![evilbunny2008](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/evilbunny2008/32/108978_2.png) [@evilbunny2008](https://discourse.nodered.org/u/evilbunny2008)\
**Post date:** [22 November 2026 13:18 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/1 "2026-11-22T13:18:44Z")

</div>

I'm not sure what I'm doing wrong, but I created a read-only bypass 2FA token on [npmjs.com](http://npmjs.com) and every time I click verify on the settings page I get the same error message every time "Failed to verify npm token".

If it helps the token that was created starts with npm\_gV03988xVv[snip] and is 40 characters long.

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [22 November 2026 18:53 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/2 "2026-11-22T18:53:07Z")

</div>

You are going to need to supply some more context.

Where exactly are you trying to add the token? Which account are you trying to link?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 November 2026 08:20 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/3 "2026-11-23T08:20:23Z")

</div>

Unlisted on 23 November 2026 08:20 UTC



---

<div class="post-metadata">

**Author:** ![evilbunny2008](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/evilbunny2008/32/108978_2.png) [@evilbunny2008](https://discourse.nodered.org/u/evilbunny2008)\
**Post date:** [23 November 2026 08:20 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/4 "2026-11-23T08:20:37Z")

</div>

Sorry for not being more specific, but I went to [Library - Node-RED](https://flows.nodered.org/settings) and followed the instructions to go to npmjs [dot] com and getting a token and then pasted it into the box at the bottom, and then it just says "Failed to verify npm token" every time I click verify.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 November 2026 08:32 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/5 "2026-11-23T08:32:33Z")

</div>

Listed on 23 November 2026 08:32 UTC



---

<div class="post-metadata">

**Author:** ![Aaqu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aaqu/32/101407_2.png) [@Aaqu](https://discourse.nodered.org/u/Aaqu)\
**Post date:** [23 November 2026 09:03 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/6 "2026-11-23T09:03:45Z")

</div>

If you're pasting the token into the terminal, are you using **right-click with the mouse to paste it**?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2026 09:57 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/7 "2026-11-23T09:57:40Z")

</div>

> [@evilbunny2008](#):
>
> followed the instructions

Which instructions?

---

<div class="post-metadata">

**Author:** ![evilbunny2008](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/evilbunny2008/32/108978_2.png) [@evilbunny2008](https://discourse.nodered.org/u/evilbunny2008)\
**Post date:** [23 November 2026 10:47 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/8 "2026-11-23T10:47:58Z")

</div>

> [@Colin](#):
>
> Which instructions?

The instructions on [Library - Node-RED](https://flows.nodered.org/settings)

```auto
Your profile is not currently connected to an npm user account. This means we cannot identify what nodes you've published to npm.

To verify your account:

Login into npmjs.com.
Go to your Profile Settings page and then the Tokens section.
Create a new Read Only token and copy it into the box below and click verify. We do not store this token - we only use to make a one-time request to retrieve your verified npm profile.
Once you have connected your npm user account you can delete the token from your npm profile.

```

---

<div class="post-metadata">

**Author:** ![evilbunny2008](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/evilbunny2008/32/108978_2.png) [@evilbunny2008](https://discourse.nodered.org/u/evilbunny2008)\
**Post date:** [23 November 2026 10:49 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/9 "2026-11-23T10:49:04Z")

</div>

> [@Aaqu](#):
>
> If you're pasting the token into the terminal, are you using **right-click with the mouse to paste it**?

No, I'm pasting the token into the nodered website, after copying it from the npmjs website

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [23 November 2026 11:19 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/10 "2026-11-23T11:19:52Z")

</div>

@evilbunny2008 With all of the recent changes on npm around token handling, I could well believe something isn't behaving. I don't have the bandwidth to investigate at the moment - you may just have to leave it unlinked for the time being.

What are you trying to do in linking your npm account on the flow library?

---

<div class="post-metadata">

**Author:** ![evilbunny2008](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/evilbunny2008/32/108978_2.png) [@evilbunny2008](https://discourse.nodered.org/u/evilbunny2008)\
**Post date:** [23 November 2026 12:05 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/11 "2026-11-23T12:05:05Z")

</div>

> [@knolleary](#):
>
> you may just have to leave it unlinked for the time being.

I only tried to link because the website rejected a package but didn't give any details, other than it was rejected.

> [@knolleary](#):
>
> What are you trying to do in linking your npm account on the flow library?

I thought it might give me access package logs, see above.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [23 November 2026 13:42 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/12 "2026-11-23T13:42:44Z")

</div>

@evilbunny2008 if you let me know the package name I can check the logs for any hints as to why it was rejected.

---

<div class="post-metadata">

**Author:** ![evilbunny2008](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/evilbunny2008/32/108978_2.png) [@evilbunny2008](https://discourse.nodered.org/u/evilbunny2008)\
**Post date:** [23 November 2026 22:38 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/13 "2026-11-23T22:38:37Z")

</div>

`

> [@knolleary](#):
>
> if you let me know the package name I can check the logs for any hints as to why it was rejected.

> **[node-red-contrib-sensibo-stream](https://flows.nodered.org/node/node-red-contrib-sensibo-stream)**
>
> Node-RED nodes for the Sensibo API v2 real-time Event Stream (Server-Sent Events)

Which has since been accepted, but it was frustrating at the time not knowing what needed changing to fix things.

Given this problem it may not have been something I could have fixed anyway, but yea lack of information for both problems is a problem in any case as it happened to at least 1 other person too nodered [dot] org/t/error-already-rejected-this-version/102177

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [23 November 2026 23:29 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/14 "2026-11-23T23:29:24Z")

</div>

I don't immediately see any errors relating to that node. I do see you've published a number of updates. Do you recall which version of your packaged appeared to have errors reported or any more info on the sequence of events you saw?

When you say it was rejected, what exactly did it say?

---

<div class="post-metadata">

**Author:** ![evilbunny2008](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/evilbunny2008/32/108978_2.png) [@evilbunny2008](https://discourse.nodered.org/u/evilbunny2008)\
**Post date:** [24 November 2026 00:14 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/15 "2026-11-24T00:14:16Z")

</div>

> [@knolleary](#):
>
> Do you recall which version of your packaged appeared to have errors reported or any more info on the sequence of events you saw?

I only started publishing at v0.0.5, and it didn't start appearing on the site until v0.0.8 at the earliest, and trying to manually publish all showed the same error.

> [@knolleary](#):
>
> When you say it was rejected, what exactly did it say?

Same as this post [Error: already rejected this version](https://discourse.nodered.org/t/error-already-rejected-this-version/102177) "Error: already rejected this version" they even posted a screen shot of the page/error.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [24 November 2026 10:02 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/16 "2026-11-24T10:02:47Z")

</div>

The message 'already rejected this version' means just what it says - the library doesn't re-evaluate a package version it has already looked at. But it doesn't record the error that caused it to reject that version in the original attempt.

If you see that error, then you must have already tried to add that version previously, and you should hopefully have got some sort of error to indicate what was wrong.

I don't see any errors logged in the backend related to versions:

- 0.10, 0.12, 0.13

Was it 0.11 that you had issues with?

---

<div class="post-metadata">

**Author:** ![evilbunny2008](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/evilbunny2008/32/108978_2.png) [@evilbunny2008](https://discourse.nodered.org/u/evilbunny2008)\
**Post date:** [24 November 2026 10:18 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/17 "2026-11-24T10:18:11Z")

</div>

> [@knolleary](#):
>
> and you should hopefully have got some sort of error to indicate what was wrong.

Nope, that's the problem.

> [@knolleary](#):
>
> Was it 0.11 that you had issues with?

I have no idea to be honest as the version isn't reported either, but at some point things started to work, also no idea why.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [24 November 2026 10:30 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/18 "2026-11-24T10:30:21Z")

</div>

> [@evilbunny2008](#):
>
> at some point things started to work, also no idea why.

Possibly because you incremented the version number?

---

<div class="post-metadata">

**Author:** ![evilbunny2008](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/evilbunny2008/32/108978_2.png) [@evilbunny2008](https://discourse.nodered.org/u/evilbunny2008)\
**Post date:** [24 November 2026 11:17 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/19 "2026-11-24T11:17:59Z")

</div>

> [@Colin](#):
>
> Possibly because you incremented the version number?

If the problem was fixed by simply incrementing the version, that would hint that there is a problem with how [nodered.org](http://nodered.org) processed packages, but with no logs it's anyone's guess as what that actually is/was, and since there is no logs it's anyone's guess how wide spread.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [24 November 2026 12:20 UTC](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216/20 "2026-11-24T12:20:03Z")

</div>

> [@evilbunny2008](#):
>
> If the problem was fixed by simply incrementing the version

The error suggests that an earlier attempt to add the package at that version failed. That is the error that is important - the first time it failed. Possibly you then made changes to the package and tried to add again, but because the version had not been changed then the Already Rejected error was seen. On changing the version it then was added ok. So the fix was not incrementing the version, but whatever was changed before the version was incremented.

[Next page](https://discourse.nodered.org/t/i-cant-seem-to-link-my-account-to-my-npmjs-com-account/102216.md?page=2)
