# Invalid credentials while login to localhost

**URL:** <https://community.cumulocity.com/t/invalid-credentials-while-login-to-localhost/4215>\
**Category:** Forum\
**Tags:** analytics, cumulocity-edge, thin-edge-io, device-connectivity, cumulocity\
**Created:** [December 13, 2023, 12:46pm UTC](https://community.cumulocity.com/t/invalid-credentials-while-login-to-localhost/4215 "2023-12-13T12:46:03Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aneel\_Chaladi](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@Aneel\_Chaladi](https://community.cumulocity.com/u/Aneel_Chaladi)\
**Post date:** [December 13, 2023, 12:46pm UTC](https://community.cumulocity.com/t/invalid-credentials-while-login-to-localhost/4215/1 "2023-12-13T12:46:03Z")

</div>

Hello everyone,

I am encountering the following issue while attempting to log in to a local host:. I have separated the user ID and password for login, but unfortunately, I have not been successful. Could anyone please guide me on how to resolve this?

URL: [http://env633442.eu-latest.cumulocity.com](http://env633442.eu-latest.cumulocity.com)

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/1/5/15d80787c8d106c40f4ce58e9e5f864398a2915c.png)

---

<div class="post-metadata">

**Author:** ![Pawel\_Rynarzewski1](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/pawel_rynarzewski1/32/10150_2.png) [@Pawel\_Rynarzewski1](https://community.cumulocity.com/u/Pawel_Rynarzewski1)\
**Post date:** [December 13, 2023, 1:00pm UTC](https://community.cumulocity.com/t/invalid-credentials-while-login-to-localhost/4215/2 "2023-12-13T13:00:04Z")

</div>

What command do you use to run the local server? Have you provided `-u` option? Do you get any errors in the console?

---

<div class="post-metadata">

**Author:** ![Robert\_Neale](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/robert_neale/32/31965_2.png) [@Robert\_Neale](https://community.cumulocity.com/u/Robert_Neale)\
**Post date:** [December 13, 2023, 1:07pm UTC](https://community.cumulocity.com/t/invalid-credentials-while-login-to-localhost/4215/3 "2023-12-13T13:07:50Z")

</div>

> [@Aneel\_Chaladi](#):
>
> [http://env633442.eu-latest.cumulocity.com](http://env633442.eu-latest.cumulocity.com)

Is that the correct tenant id?

---

<div class="post-metadata">

**Author:** ![Aneel\_Chaladi](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@Aneel\_Chaladi](https://community.cumulocity.com/u/Aneel_Chaladi)\
**Post date:** [December 13, 2023, 1:27pm UTC](https://community.cumulocity.com/t/invalid-credentials-while-login-to-localhost/4215/4 "2023-12-13T13:27:04Z")

</div>

i have used npm start command

---

<div class="post-metadata">

**Author:** ![Aneel\_Chaladi](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@Aneel\_Chaladi](https://community.cumulocity.com/u/Aneel_Chaladi)\
**Post date:** [December 13, 2023, 1:27pm UTC](https://community.cumulocity.com/t/invalid-credentials-while-login-to-localhost/4215/5 "2023-12-13T13:27:24Z")

</div>

Yes , Tenant ID Correct

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [December 13, 2023, 1:31pm UTC](https://community.cumulocity.com/t/invalid-credentials-while-login-to-localhost/4215/6 "2023-12-13T13:31:44Z")

</div>

Have you seen this section: [Getting started - Cumulocity IoT Guides](https://cumulocity.com/guides/web/gettingstarted/)

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/7/e/7e46a1c97ffbd6e8374f7bf69bb3d7f844d39ee7.png)

You should adjust it to `c8ycli server -u https://env633442.eu-latest.cumulocity.com`

If you adjusted this and it still does not work, keep in mind that your user and password are case sensitive.

---

<div class="post-metadata">

**Author:** ![Robert\_Neale](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/robert_neale/32/31965_2.png) [@Robert\_Neale](https://community.cumulocity.com/u/Robert_Neale)\
**Post date:** [December 13, 2023, 1:47pm UTC](https://community.cumulocity.com/t/invalid-credentials-while-login-to-localhost/4215/7 "2023-12-13T13:47:18Z")

</div>

If you use the url (env…eu-latest.cumulocity.com) in a browser can you use those credentials to log in?

---

<div class="post-metadata">

**Author:** ![Aneel\_Chaladi](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@Aneel\_Chaladi](https://community.cumulocity.com/u/Aneel_Chaladi)\
**Post date:** [December 13, 2023, 2:27pm UTC](https://community.cumulocity.com/t/invalid-credentials-while-login-to-localhost/4215/8 "2023-12-13T14:27:40Z")

</div>

Now i am getting below error

 ![MicrosoftTeams-image (1)](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/e/3/e3e61603cec43ecde79f65f1f9f70172c9cc12ed.png)

---

<div class="post-metadata">

**Author:** ![Robert\_Neale](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/robert_neale/32/31965_2.png) [@Robert\_Neale](https://community.cumulocity.com/u/Robert_Neale)\
**Post date:** [December 13, 2023, 2:51pm UTC](https://community.cumulocity.com/t/invalid-credentials-while-login-to-localhost/4215/9 "2023-12-13T14:51:48Z")

</div>

Just been on the tenant. The user you are trying to use does not exist on the tenant. I guess it is your [webmethods.io](http://webmethods.io) logon, for which there is the necessary account in c8y but it’s not for use directly like you are trying.

If you wish I can add you an account on your tenant for testing your app.

---

<div class="post-metadata">

**Author:** ![Aneel\_Chaladi](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@Aneel\_Chaladi](https://community.cumulocity.com/u/Aneel_Chaladi)\
**Post date:** [December 13, 2023, 3:06pm UTC](https://community.cumulocity.com/t/invalid-credentials-while-login-to-localhost/4215/10 "2023-12-13T15:06:03Z")

</div>

Thank you so much,

Please find the details as below

My Tenant ID:env633442

---

<div class="post-metadata">

**Author:** ![Robert\_Neale](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/robert_neale/32/31965_2.png) [@Robert\_Neale](https://community.cumulocity.com/u/Robert_Neale)\
**Post date:** [December 13, 2023, 3:49pm UTC](https://community.cumulocity.com/t/invalid-credentials-while-login-to-localhost/4215/11 "2023-12-13T15:49:02Z")

</div>

Try user…

myappuser.

Password will be sent separately.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [June 10, 2024, 3:49pm UTC](https://community.cumulocity.com/t/invalid-credentials-while-login-to-localhost/4215/12 "2024-06-10T15:49:20Z")

</div>

Closed on June 10, 2024, 3:49pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
