# Kibana fails login,commands with ERROR

**URL:** <https://discuss.elastic.co/t/kibana-fails-login-commands-with-error/301504>\
**Category:** Kibana\
**Tags:** windows\
**Created:** [April 4, 2022, 12:06pm UTC](https://discuss.elastic.co/t/kibana-fails-login-commands-with-error/301504 "2022-04-04T12:06:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![The-morpho](https://avatars.discourse-cdn.com/v4/letter/t/f14d63/32.png) [@The-morpho](https://discuss.elastic.co/u/The-morpho)\
**Post date:** [April 4, 2022, 12:06pm UTC](https://discuss.elastic.co/t/kibana-fails-login-commands-with-error/301504/1 "2022-04-04T12:06:44Z")

</div>

Hello i was configuring minimal security for Elasticsearch following the docs bellow.

> **[Set up minimal security for Elasticsearch | Elasticsearch Guide \[7.12\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.12/security-minimal-setup.html)**

I set a password , but the problem is Kibana fail to login.

You will find a screenshot of the error :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/2/8251cac17d45849ec4590ef11146808443bfcd1d.png)

---

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [April 11, 2022, 10:47am UTC](https://discuss.elastic.co/t/kibana-fails-login-commands-with-error/301504/2 "2022-04-11T10:47:21Z")

</div>

Hi @The-morpho ,

It looks like your password is a number, but Kibana expects a string. If the password consists of only numbers try to enclose it in quotes:

```nohighlight
elasticsearch.password: "12345678"

```

Best,  
Oleg

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 9, 2022, 10:47am UTC](https://discuss.elastic.co/t/kibana-fails-login-commands-with-error/301504/3 "2022-05-09T10:47:41Z")

</div>

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