Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

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

Open AdamSiwy opened this issue 11 months ago • 1 comments

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

  • Installation yarn start
  • Flowise Version 1.6.0
  • OS: Ubunut
  • Browser Firefox

Additional context Hosted with Plesk on a vhosts environment

AdamSiwy avatar Mar 11 '24 16:03 AdamSiwy

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

HenryHengZJ avatar Mar 17 '24 11:03 HenryHengZJ

should be fixed via v2 API PR

HenryHengZJ avatar May 05 '24 11:05 HenryHengZJ