[DOC]: Try Swagger API POST /v1/document/upload - fails to upload multipart file #1618

Open
opened 2026-02-28 05:34:25 -05:00 by deekerman · 0 comments
Owner

Originally created by @appdevhm88mt on GitHub (Oct 15, 2024).

How are you running AnythingLLM?

Docker (local)

What happened?

  1. [BUG]: Try Swagger API POST /v1/document/upload with any file get 500 Error: Internal Server Error

  2. Please see the attached error logs.
    v1-document-upload-error-logs.txt

  3. Expect to get the success response

  4. We have no this issue while using the AnytingLLM native workspace document upload feature

Are there known steps to reproduce?

See the failed screenshot as following:

api_v1_document_upload_01
](url)


api_v1_document_upload_02

Originally created by @appdevhm88mt on GitHub (Oct 15, 2024). ### How are you running AnythingLLM? Docker (local) ### What happened? 1. [BUG]: Try Swagger API POST /v1/document/upload with any file get 500 Error: Internal Server Error 2. Please see the attached error logs. [v1-document-upload-error-logs.txt](https://github.com/user-attachments/files/17374588/v1-document-upload-error-logs.txt) 3. Expect to get the success response 4. We have no this issue while using the AnytingLLM native workspace document upload feature ### Are there known steps to reproduce? See the failed screenshot as following: ![api_v1_document_upload_01](https://github.com/user-attachments/assets/348e7e55-eb0a-41d7-8a45-7e9cc9adc5cf) ](url) [ ![api_v1_document_upload_02](https://github.com/user-attachments/assets/4a8c659c-1676-4115-87f4-958c516a842f) ](url)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/anything-llm#1618
No description provided.