FlowiseAI / Flowise

Drag & drop UI to build your customized LLM flow
https://flowiseai.com
Apache License 2.0
30.82k stars 16.03k forks source link

Download Fails at /api/v1/openai-assistants-file [BUG] #1923

Closed AdamSiwy closed 5 months ago

AdamSiwy commented 7 months ago

Describe the bug When giving a assistants-file for Download in the Chat Conversation the download fails with 404

To Reproduce Steps to reproduce the behavior:

  1. Upload a assistants-file to the UI for a openAI Assistant
  2. Sync file to OpenAI
  3. Open a Chatbot window.
  4. Ask for the assistance file
  5. Klick on the Download Button
  6. response: {…} } ​ code: "ERR_BAD_REQUEST" ​ config: Object { timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", … } ​ message: "Request failed with status code 404" ​ name: "AxiosError" ​ request: XMLHttpRequest { readyState: 4, timeout: 0, withCredentials: false, … } ​ response: Object { data: Blob, status: 404, statusText: "Not Found", … }

Expected behavior Download of the File.

Screenshots grafik

Flow

Setup

Additional context Hosted with Plesk on a vhosts environment

HenryHengZJ commented 7 months ago

Sometimes OpenAI might not generate the correct download link, is this occuring everytime or ocassionally?

HenryHengZJ commented 5 months ago

should be fixed via v2 API PR