Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部署不成功哇 #1

Closed
sa-da-sa-da opened this issue Jun 14, 2021 · 2 comments
Closed

部署不成功哇 #1

sa-da-sa-da opened this issue Jun 14, 2021 · 2 comments

Comments

@sa-da-sa-da
Copy link

报错信息:
{
"errorMessage": "Expecting value: line 1 column 1 (char 0)",
"errorType": "JSONDecodeError",
"stackTrace": [
[
"File "/code/index.py"",
"line 65",
"in handler",
"request_obj: dict = json.loads(request_body)"
],
[
"File "/usr/local/lib/python3.6/json/init.py"",
"line 354",
"in loads",
"return _default_decoder.decode(s)"
],
[
"File "/usr/local/lib/python3.6/json/decoder.py"",
"line 339",
"in decode",
"obj, end = self.raw_decode(s, idx=_w(s, 0).end())"
],
[
"File "/usr/local/lib/python3.6/json/decoder.py"",
"line 357",
"in raw_decode",
"raise JSONDecodeError("Expecting value", s, err.value) from None"
]
]
}

@longern
Copy link
Owner

longern commented Aug 22, 2021

得POST一个JSON请求,格式是{source:<你的代码>}

@longern longern closed this as completed May 4, 2022
@sa-da-sa-da
Copy link
Author

sa-da-sa-da commented May 4, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants