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

Failed to parse json from request: key must be a string at line 1 column 2 #8

Open
pratham15541 opened this issue Feb 19, 2023 · 0 comments

Comments

@pratham15541
Copy link
Contributor

I am getting error when I am running post command for:
curl --request POST --header "X-Access-Token: my-token" --header "Content-type: application/json" --data "{"image": "glot/python:latest", "payload": {"language": "python", "files": [{"name": "main.py", "content": "print(42)"}]}}" http://localhost:8088/run

{ "error": "request.parse", "message": "Failed to parse json from request: key must be a string at line 1 column 2" }

@pratham15541 pratham15541 changed the title Failed to parse json from request: key must be a string at line 1 column 2" Failed to parse json from request: key must be a string at line 1 column 2 Feb 19, 2023
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

1 participant