# Error message "ScriptEngine for language 'application/javascript' could not be found for identifier"

**URL:** <https://community.openhab.org/t/error-message-scriptengine-for-language-application-javascript-could-not-be-found-for-identifier/134570>\
**Category:** Scripts & Rules\
**Created:** [March 26, 2022, 9:37pm UTC](https://community.openhab.org/t/error-message-scriptengine-for-language-application-javascript-could-not-be-found-for-identifier/134570 "2022-03-26T21:37:59Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![MartinOpenhabFan](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/898d66/32.png) [@MartinOpenhabFan](https://community.openhab.org/u/MartinOpenhabFan)\
**Post date:** [October 15, 2025, 4:39pm UTC](https://community.openhab.org/t/error-message-scriptengine-for-language-application-javascript-could-not-be-found-for-identifier/134570/21 "2025-10-15T16:39:18Z")

</div>

OK thanks I’ll try

---

<div class="post-metadata">

**Author:** ![MartinOpenhabFan](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/898d66/32.png) [@MartinOpenhabFan](https://community.openhab.org/u/MartinOpenhabFan)\
**Post date:** [October 16, 2025, 8:33pm UTC](https://community.openhab.org/t/error-message-scriptengine-for-language-application-javascript-could-not-be-found-for-identifier/134570/22 "2025-10-16T20:33:59Z")

</div>

Hi @rlkoshak , I changed all occurrencies of ECMA-Script, cleared the cache, but still the error for each rule is shown.

Anyhow, although it is a bit confusing, looks like everything is working fine…

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [October 16, 2025, 8:36pm UTC](https://community.openhab.org/t/error-message-scriptengine-for-language-application-javascript-could-not-be-found-for-identifier/134570/23 "2025-10-16T20:36:00Z")

</div>

> [@MartinOpenhabFan](#):
>
> Hi @rlkoshak , I changed all occurrencies of ECMA-Script, cleared the cache, but still the error for each rule is shown.

Changing the mime type was never intended to fix what ever is causing the error you reported. It’s just a bit of housekeeping which should make long term maintenance easier.

---

<div class="post-metadata">

**Author:** ![MartinOpenhabFan](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/898d66/32.png) [@MartinOpenhabFan](https://community.openhab.org/u/MartinOpenhabFan)\
**Post date:** [October 16, 2025, 9:07pm UTC](https://community.openhab.org/t/error-message-scriptengine-for-language-application-javascript-could-not-be-found-for-identifier/134570/24 "2025-10-16T21:07:12Z")

</div>

OK yes looks like I misunderstood 🙂

---

<div class="post-metadata">

**Author:** ![dalgwen](https://community.openhab.org/letter_avatar_proxy/v4/letter/d/3d9bf3/32.png) [@dalgwen](https://community.openhab.org/u/dalgwen)\
**Post date:** [October 17, 2025, 8:07am UTC](https://community.openhab.org/t/error-message-scriptengine-for-language-application-javascript-could-not-be-found-for-identifier/134570/25 "2025-10-17T08:07:10Z")

</div>

Isn’t it fixed [by this](https://github.com/openhab/openhab-core/pull/4971/commits/f395a562719715b6a28026aadfb6bbb2cd10ce7a) ?  
(AFAIK, it’s not in a release yet)

---

<div class="post-metadata">

**Author:** ![Nadahar](https://community.openhab.org/user_avatar/community.openhab.org/nadahar/32/194556_2.png) [@Nadahar](https://community.openhab.org/u/Nadahar)\
**Post date:** [October 17, 2025, 1:01pm UTC](https://community.openhab.org/t/error-message-scriptengine-for-language-application-javascript-could-not-be-found-for-identifier/134570/26 "2025-10-17T13:01:41Z")

</div>

It should fix it, yes, and luckily, it’s in 5.0.2, which was just released:

[https://github.com/openhab/openhab-core/commit/ee94122afde4a17c702e2c42fa7c83b7d63576f0](https://github.com/openhab/openhab-core/commit/ee94122afde4a17c702e2c42fa7c83b7d63576f0)

[Previous page](https://community.openhab.org/t/error-message-scriptengine-for-language-application-javascript-could-not-be-found-for-identifier/134570.md?page=1)
