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

500 Internal Server Error when uvicorn FastAPI #50

Closed
laifuchicago opened this issue Mar 30, 2020 · 1 comment
Closed

500 Internal Server Error when uvicorn FastAPI #50

laifuchicago opened this issue Mar 30, 2020 · 1 comment

Comments

@laifuchicago
Copy link

To author:
I am going to use the uvicorn FastAPI for inference, but when everytime I use, it would show "500 Internal Server Error" just like the following figure, Do you have any idea?

Jonathan Sung
1
2

@tholor
Copy link
Member

tholor commented Mar 30, 2020

Hey @laifuchicago,
Please try to get rid of the "filters" block in your request body. It's a placeholder for your own custom filter keys/values, but this depends on your own index (e.g. if you have a field "language" in your index, you could add {"filters": {"language": "en"}} here.

If this doesn't solve it, please post the logs from uvicorn. They should contain some proper error messages.

masci pushed a commit that referenced this issue Nov 27, 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

2 participants