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

Unprocessable Entity Issue #670

Open
serkandincavl opened this issue Jan 29, 2025 · 0 comments
Open

Unprocessable Entity Issue #670

serkandincavl opened this issue Jan 29, 2025 · 0 comments

Comments

@serkandincavl
Copy link

Hi,

when I run the following code on terminal:
curl -X POST "http://127.0.0.1:8020/insert_file" -H "Content-Type: application/json" -d '{"file_path": "the_highway_code_uk.txt"}'

I get following:
{"detail":[{"type":"missing","loc":["body","file"],"msg":"Field required","input":null}]}

And I see the following issue on the terminal where I started the server:
INFO: 127.0.0.1:59700 - "POST /insert_file HTTP/1.1" 422 Unprocessable Entity

Could you please help me with this issue?

Thanks.

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