I’m seeing this error in the latest test. Any help would be appreciated.
Test Event Name
haaskatest
Response
{
“errorMessage”: “Expecting value: line 6 column 18 (char 120)”,
“errorType”: “JSONDecodeError”,
“requestId”: “b4b37ca7-755b-4f49-ac05-83cb95962141”,
“stackTrace”: [
" File “/var/task/haaska.py”, line 106, in event_handler\n config = Configuration(‘config.json’)\n",
" File “/var/task/haaska.py”, line 80, in init\n self._json = json.load(f)\n",
" File “/var/lang/lib/python3.9/json/init.py”, line 293, in load\n return loads(fp.read(),\n",
" File “/var/lang/lib/python3.9/json/init.py”, line 346, in loads\n return _default_decoder.decode(s)\n",
" File “/var/lang/lib/python3.9/json/decoder.py”, line 337, in decode\n obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n",
" File “/var/lang/lib/python3.9/json/decoder.py”, line 355, in raw_decode\n raise JSONDecodeError(“Expecting value”, s, err.value) from None\n"
]
}
Function Logs
START RequestId: b4b37ca7-755b-4f49-ac05-83cb95962141 Version: $LATEST
[ERROR] JSONDecodeError: Expecting value: line 6 column 18 (char 120)
Traceback (most recent call last):
File “/var/task/haaska.py”, line 106, in event_handler
config = Configuration(‘config.json’)
File “/var/task/haaska.py”, line 80, in init
self._json = json.load(f)
File “/var/lang/lib/python3.9/json/init.py”, line 293, in load
return loads(fp.read(),
File “/var/lang/lib/python3.9/json/init.py”, line 346, in loads
return _default_decoder.decode(s)
File “/var/lang/lib/python3.9/json/decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/var/lang/lib/python3.9/json/decoder.py”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from NoneEND RequestId: b4b37ca7-755b-4f49-ac05-83cb95962141
REPORT RequestId: b4b37ca7-755b-4f49-ac05-83cb95962141 Duration: 15.90 ms Billed Duration: 16 ms Memory Size: 128 MB Max Memory Used: 49 MB Init Duration: 364.36 ms