Originally created by @luofeng0603 on GitHub (Apr 3, 2024).
Bug Summary: when i uplod a file ,i got an error:Something went wrong :( 400: Something went wrong :(
Docker Container Logs: 2024-04-03 22:55:28 INFO: 192.168.65.1:28747 - "POST /rag/api/v1/doc HTTP/1.1" 400 Bad Request 2024-04-03 22:57:56 INFO: 192.168.65.1:28751 - "GET /api/v1/documents/ HTTP/1.1" 200 OK 2024-04-03 22:57:56 INFO:apps.rag.main:file.content_type: application/pdf 2024-04-03 22:57:56 ERROR:apps.rag.main:400: Something went wrong :/ 2024-04-03 22:57:56 Traceback (most recent call last): 2024-04-03 22:57:56 File "/app/backend/apps/rag/main.py", line 464, in store_doc 2024-04-03 22:57:56 raise HTTPException( 2024-04-03 22:57:56 fastapi.exceptions.HTTPException: 400: Something went wrong :/ Screenshots (if applicable): [Attach any relevant screenshots to help illustrate the issue]
No dependencies set.
The note is not visible to the blocked user.
Originally created by @luofeng0603 on GitHub (Apr 3, 2024).
Bug Report
Description
Bug Summary:
when i uplod a file ,i got an error:Something went wrong :( 400: Something went wrong :(
Environment
Logs and Screenshots
Docker Container Logs:
2024-04-03 22:55:28 INFO: 192.168.65.1:28747 - "POST /rag/api/v1/doc HTTP/1.1" 400 Bad Request
2024-04-03 22:57:56 INFO: 192.168.65.1:28751 - "GET /api/v1/documents/ HTTP/1.1" 200 OK
2024-04-03 22:57:56 INFO:apps.rag.main:file.content_type: application/pdf
2024-04-03 22:57:56 ERROR:apps.rag.main:400: Something went wrong :/
2024-04-03 22:57:56 Traceback (most recent call last):
2024-04-03 22:57:56 File "/app/backend/apps/rag/main.py", line 464, in store_doc
2024-04-03 22:57:56 raise HTTPException(
2024-04-03 22:57:56 fastapi.exceptions.HTTPException: 400: Something went wrong :/
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]