# Npm WARN Name must be lowercase

**URL:** <https://community.sonatype.com/t/npm-warn-name-must-be-lowercase/8367>\
**Category:** Sonatype Nexus Repository\
**Created:** [March 14, 2022, 12:08pm UTC](https://community.sonatype.com/t/npm-warn-name-must-be-lowercase/8367 "2022-03-14T12:08:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![webmutation](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/webmutation/32/1057_2.png) [@webmutation](https://community.sonatype.com/u/webmutation)\
**Post date:** [March 14, 2022, 12:08pm UTC](https://community.sonatype.com/t/npm-warn-name-must-be-lowercase/8367/1 "2022-03-14T12:08:00Z")

</div>

Hello there,

according to [https://support.sonatype.com/hc/en-us/articles/115015110067-Using-User-Token-s-with-NPM](https://support.sonatype.com/hc/en-us/articles/115015110067-Using-User-Token-s-with-NPM) it should be possible to use User-Token that contain uppercase usernames, however I have not found this to be working

When trying to login i get the following:

Username: (33U7wmRv)  
npm WARN Name must be lowercase  
Username: (33U7wmRv) npm ERR! code E401  
npm ERR! Unable to authenticate, need: BASIC realm=“Sonatype Nexus Repository Manager”

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [March 14, 2022, 2:13pm UTC](https://community.sonatype.com/t/npm-warn-name-must-be-lowercase/8367/2 "2022-03-14T14:13:56Z")

</div>

The KB article suggests you should modify your npmrc file, not use login.
