Jsonpath UID error after upgrade to 4.0.4

  • Platform information:
    • Hardware: Orangepi 3 LTS
    • OS: Armbian
    • Java Runtime Environment: 17
    • openHAB version: 4.0.4

After upgrading to 4.0.4 the following error started showing up in the openhab log:

2023-11-05 10:00:29.813 [ERROR] [.module.script.profile.ScriptProfile] - Failed to process script 'JSONPATH:$.["1"]': Could not get script for UID 'JSONPATH:$.["1"]'.

The error shows up every hour. I have checked all things but can not find the problem. Any hints on how to debug this to find the offending UID?

That’s coming from a Profile. So you need to look at the Links between Channels and Items.

The error indicates that you’ve selected a SCRIPT transform profile but supplied a JSONPATH configuration. You need to change to select a JSONPATH.

I couldn’t say why this error is showing up except that perhaps that wasn’t tested before and now it is. It’s always been an error.

Found the error with this piece of advice. Thank you!