Mistral OCR error #7576
-
I tried Mistral OCR, however after uploading file and asked to extract text, get following error ( both in agent and chat, for all OCR models): |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
i am getting folloowing error when trying OCR ith Mistral ( using through agent), here are details: {"attemptNumber":1,"headers":{"access-control-allow-origin":"","alt-svc":"h3=":443"; ma=86400","cf-cache-status":"DYNAMIC","cf-ray":"947255073ee2c3c2-SIN","connection":"keep-alive","content-length":"114","content-type":"application/json","date":"Thu, 29 May 2025 01:48:54 GMT","ratelimitbysize-limit":"500000","ratelimitbysize-query-cost":"32305","ratelimitbysize-remaining":"467695","ratelimitbysize-reset":"6","server":"cloudflare","set-cookie":"__cf_bm=62rzhRwz3c_6byFnZ53nYQmDFAtwc.QmHCdSN4UYfVQ-1748483334-1.0.1.1-S5o4BDD7z27U9SZzpowc5145sMoKhNh703LHdFVxnzu22W7YjAVS2QNL6DmCA8UADDH.HJnb97G_chi6o3dQFnLRgWzjW7rWAe9bM2w3A4c; path=/; expires=Thu, 29-May-25 02:18:54 GMT; domain=.mistral.ai; HttpOnly; Secure; SameSite=None, _cfuvid=l8OEdspeWKNTMlkk4590WgvxQJpmz.1zeBgXhhdEGJ4-1748483334501-0.0.1.1-604800000; path=/; domain=.mistral.ai; HttpOnly; Secure; SameSite=None","x-envoy-upstream-service-time":"8","x-kong-proxy-latency":"12","x-kong-request-id":"7053d41fc40654493d23b76600a21b0b","x-kong-upstream-latency":"9","x-ratelimitbysize-limit-minute":"500000","x-ratelimitbysize-limit-month":"1000000000","x-ratelimitbysize-remaining-minute":"467695","x-ratelimitbysize-remaining-month":"999967695"},"level":"error","message":"[api/server/controllers/agents/client.js #sendCompletion] Operation aborted 400 status code (no body)","pregelTaskId":"f789448c-a488-51ae-b7b6-88143bee795d","retriesLeft":6,"stack":"Error: 400 status code (no body)\n at APIError.generate (/app/node_modules/openai/error.js:45:20)\n at CustomOpenAIClient.makeStatusError (/app/node_modules/openai/core.js:302:33)\n at CustomOpenAIClient.makeRequest (/app/node_modules/openai/core.js:346:30)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/api/node_modules/@langchain/openai/dist/chat_models.cjs:2337:29\n at async RetryOperation._fn (/app/node_modules/p-retry/index.js:50:12)","status":400} |
Beta Was this translation helpful? Give feedback.
-
Choose a regular chat completions model from the Mistral API. The OCR model is only used when exclusively processing documents. |
Beta Was this translation helpful? Give feedback.
Choose a regular chat completions model from the Mistral API. The OCR model is only used when exclusively processing documents.