Traceback (most recent call last):
File "/usr/lib/zabbix/alertscripts/cw.py", line 28, in
data = json.loads(null_defs.sani(parseList.payload))
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
Looks like i just did a dumb while creating the media type message templates. Speaking of I should probably add that info to the readme. retagging as feature req to remind me to do so.
Traceback (most recent call last): File "/usr/lib/zabbix/alertscripts/cw.py", line 28, in
data = json.loads(null_defs.sani(parseList.payload))
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
Note: this is why i need to write tests lol.