getThingStatusInfo error in OH3 script

Example of working status report here.