# Kibana error for theme validation

**URL:** <https://discuss.elastic.co/t/kibana-error-for-theme-validation/289878>\
**Category:** Kibana\
**Created:** [November 22, 2021, 10:35pm UTC](https://discuss.elastic.co/t/kibana-error-for-theme-validation/289878 "2021-11-22T22:35:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DPattee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dpattee/32/37772_2.png) [@DPattee](https://discuss.elastic.co/u/DPattee)\
**Post date:** [November 22, 2021, 10:35pm UTC](https://discuss.elastic.co/t/kibana-error-for-theme-validation/289878/1 "2021-11-22T22:35:19Z")

</div>

I just noticed that my kibana log is full of 'failed validation' errors... like zillions of them:

```auto
 log [11:21:26.836] [warning][ui-settings-service] Ignore invalid UiSettings value. Error: [validation [theme:version]]: types that failed validation:
- [validation [theme:version].0]: expected value to equal [v7]
- [validation [theme:version].1]: expected value to equal [v8].
  log [11:21:36.626] [warning][ui-settings-service] Ignore invalid UiSettings value. Error: [validation [theme:version]]: types that failed validation:
- [validation [theme:version].0]: expected value to equal [v7]
- [validation [theme:version].1]: expected value to equal [v8].
  log [11:21:46.629] [warning][ui-settings-service] Ignore invalid UiSettings value. Error: [validation [theme:version]]: types that failed validation:
- [validation [theme:version].0]: expected value to equal [v7]
- [validation [theme:version].1]: expected value to equal [v8].
  log [11:21:56.632] [warning][ui-settings-service] Ignore invalid UiSettings value. Error: [validation [theme:version]]: types that failed validation:
- [validation [theme:version].0]: expected value to equal [v7]
- [validation [theme:version].1]: expected value to equal [v8].
  log [11:22:06.634] [warning][ui-settings-service] Ignore invalid UiSettings value. Error: [validation [theme:version]]: types that failed validation:
- [validation [theme:version].0]: expected value to equal [v7]
- [validation [theme:version].1]: expected value to equal [v8].
  log [11:22:16.637] [warning][ui-settings-service] Ignore invalid UiSettings value. Error: [validation [theme:version]]: types that failed validation:
- [validation [theme:version].0]: expected value to equal [v7]
- [validation [theme:version].1]: expected value to equal [v8].

```

I don't know when they started, I only noticed them when I launched kibana interactively to test some timeout changes.

I don't have any theme settings in my kibana.yml, and if I use the Kibana dashboards Stack Management:Advanced Settings page and filter for the word 'theme' I see that hte 'dark mode' toggle is 'on' and the "theme:version: dropdown is set to 'v8' (and the only options in that dropdown are v7 and v8).

The only thing I could think of was to change those two settings (light & v7), saved, let it refresh for awhile, then set them back (dark & v8).

That seems to have done the trick and the log spew stopped - but perhaps a more actionable message or some 'self-healing' in the code would be better.

---

<div class="post-metadata">

**Author:** ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)\
**Post date:** [November 26, 2021, 11:19am UTC](https://discuss.elastic.co/t/kibana-error-for-theme-validation/289878/2 "2021-11-26T11:19:14Z")

</div>

Hi there,  
thank you so much for raising it. I went through our open issues and couldn't find anything related to it, but I'll keep an eye on it. If the problem occurs again, please reach out.

---

<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:** [December 24, 2021, 11:19am UTC](https://discuss.elastic.co/t/kibana-error-for-theme-validation/289878/3 "2021-12-24T11:19:55Z")

</div>

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