Skip to content

部署后运行报错 #19

Description

@quanjin9099

{
"errorMessage": "Expecting value: line 1 column 1 (char 0)",
"errorType": "JSONDecodeError",
"stackTrace": [
[
"File "/code/main.py"",
"line 33",
"in main_handler",
"evt = json.loads(body)"
],
[
"File "/var/fc/lang/python3.9/lib/python3.9/json/init.py"",
"line 346",
"in loads",
"return _default_decoder.decode(s)"
],
[
"File "/var/fc/lang/python3.9/lib/python3.9/json/decoder.py"",
"line 337",
"in decode",
"obj, end = self.raw_decode(s, idx=_w(s, 0).end())"
],
[
"File "/var/fc/lang/python3.9/lib/python3.9/json/decoder.py"",
"line 355",
"in raw_decode",
"raise JSONDecodeError("Expecting value", s, err.value) from None"
]
]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions