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

local run error, /app/api/messages/ missing conversation_id #47

Open
fjun99 opened this issue Feb 22, 2024 · 2 comments
Open

local run error, /app/api/messages/ missing conversation_id #47

fjun99 opened this issue Feb 22, 2024 · 2 comments

Comments

@fjun99
Copy link

fjun99 commented Feb 22, 2024

Can anyone help? Thank you very much!

(Vercel is ok.)

error - AxiosError: Request failed with status code 400
at settle (webpack-internal:///(sc_server)/./node_modules/axios/dist/node/axios.cjs:1628:16)
at IncomingMessage.handleStreamEnd (webpack-internal:///(sc_server)/./node_modules/axios/dist/node/axios.cjs:2506:21)
at IncomingMessage.emit (node:events:531:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (webpack-internal:///(sc_server)/./node_modules/axios/dist/node/axios.cjs:3148:49)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ChatClient.sendRequest (webpack-internal:///(sc_server)/./node_modules/dify-client/index.js:78:24)
at async GET (webpack-internal:///(sc_server)/./app/api/messages/route.ts:13:23)
at async eval (webpack-internal:///(sc_server)/./node_modules/next/dist/server/future/route-modules/app-route/module.js:244:37) {

data: {
  code: 'invalid_param',
  message: 'Missing required parameter in the query string',
  params: 'conversation_id'
}

it seems the onData() in handleSend in index.tsx is not triggered when locally deployed.

@GZ315200
Copy link

same with me

@sesirbu
Copy link

sesirbu commented Feb 23, 2024

I have the same problem in local run

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

3 participants