# Dashboard error \[I18n\] A \`locale\` must be a non-empty string to add messages

**URL:** <https://forum.opensearch.org/t/dashboard-error-i18n-a-locale-must-be-a-non-empty-string-to-add-messages/22326>\
**Category:** OpenSearch Dashboards\
**Tags:** troubleshoot\
**Created:** [November 7, 2024, 3:58am UTC](https://forum.opensearch.org/t/dashboard-error-i18n-a-locale-must-be-a-non-empty-string-to-add-messages/22326 "2024-11-07T03:58:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![delexw](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@delexw](https://forum.opensearch.org/u/delexw)\
**Post date:** [November 7, 2024, 3:58am UTC](https://forum.opensearch.org/t/dashboard-error-i18n-a-locale-must-be-a-non-empty-string-to-add-messages/22326/1 "2024-11-07T03:58:22Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):

2.3.0

**Describe the issue** :

For some reason, I have to deploy dashboard in Docker container with the version 2.3.0. I am encountering the error when I open it. If I use same docker-compose config with latest dashboard version, it works. Any idea?

**Configuration** :

```yml
  opensearch-dashboards:
    image: opensearchproject/opensearch-dashboards:2.3.0
    container_name: opensearch-dashboards
    ports:
      - "5601:5601" # Map host port 5601 to container port 5601
    expose:
      - "5601" # Expose port 5601 for web access to OpenSearch Dashboards
    environment:
      - OPENSEARCH_HOSTS=["http://opensearch:9200"]
      - DISABLE_SECURITY_DASHBOARDS_PLUGIN=true # disables security dashboards plugin in OpenSearch Dashboards

```

**Relevant Logs or Screenshots** :

 ![image](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/7/7c0b0b7c18479e278398a5dc02793e7123eee3b2.png)

---

<div class="post-metadata">

**Author:** ![Mantas](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@Mantas](https://forum.opensearch.org/u/Mantas)\
**Post date:** [November 7, 2024, 10:31am UTC](https://forum.opensearch.org/t/dashboard-error-i18n-a-locale-must-be-a-non-empty-string-to-add-messages/22326/2 "2024-11-07T10:31:06Z")

</div>

Hi @delexw,

Have you tried a different browser, (seems like it is caused by some sticky session data from your previous deployment)?

What version is your OpenSearch cluster (also 2.3.0)?

best,  
mj

---

<div class="post-metadata">

**Author:** ![delexw](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@delexw](https://forum.opensearch.org/u/delexw)\
**Post date:** [November 7, 2024, 8:46pm UTC](https://forum.opensearch.org/t/dashboard-error-i18n-a-locale-must-be-a-non-empty-string-to-add-messages/22326/3 "2024-11-07T20:46:19Z")

</div>

Thanks @Mantas. Good point to try a different browser. Also the cluster version is 2.3.0. It works on Firefox and Safari but not on my Chrome. I also changed the port map to local machine using `25601` then it works on my Chrome.

How could I clean the sticky session data? It doesn’t work after I click the Clear your session button.
