jina-ai / jina-ai/node-DeepResearch

Error getting embeddings from Jina: AxiosError: Request failed with status code 400

Open
#90 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.2k
Forks
461
PR merge metrics
No merged PRs in 30d

Description

Error getting embeddings from Jina: AxiosError: Request failed with status code 400
at settle (D:\test\DeepResearch\node_modules\axios\lib\core\settle.js:19:12)
at IncomingMessage.handleStreamEnd (D:\test\DeepResearch\node_modules\axios\lib\adapters\http.js:599:11)
at IncomingMessage.emit (node:events:519:35)
at IncomingMessage.emit (node:domain:489:12)
at endReadableNT (node:internal/streams/readable:1696:12)
at processTicksAndRejections (node:internal/process/task_queues:90:21)
at Axios.request (D:\test\DeepResearch\node_modules\axios\lib\core\Axios.js:45:41)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at async getEmbeddings (D:\test\DeepResearch\src\tools\jina-dedup.ts:65:22)
at async dedupQueries (D:\test\DeepResearch\src\tools\jina-dedup.ts:121:49)
at async getResponse (D:\test\DeepResearch\src\agent.ts:757:34)
at async D:\test\DeepResearch\src\app.ts:551:9 {
code: 'ERR_BAD_REQUEST',

The `jina-xx.ts` script is compatible only with macOS. When executed on Linux or Windows systems, it will throw the 400 'Bad Request' errors.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.