Files
Classic298 420b4a2797 fix(retrieval): name the link when process/web cannot fetch it (#31351)
A link whose host refuses the connection, such as a closed port, still came back from POST /api/v1/retrieval/process/web as "Error querying knowledge base", so the caller was told the knowledge base failed when the link was the problem.

The web loaders log a failed fetch and return no documents. That empty result then failed while being saved to the vector store, and the save error was the one reported.

process_web now answers with the existing "Could not read content from <url>" 400 as soon as the loader returns no documents, the same message a link refused by the fetch filter already gets. The check sits in the endpoint so web search and the other users of the loaders keep their current behaviour.

With process=false or embedding bypassed, an unreachable link now gets the same 400 where it used to return 200 with empty content.

Fixes #31347
2026-09-26 07:28:13 +04:00
..
…
2026-08-25 16:53:53 -04:00
2026-09-06 17:27:30 -04:00
2026-09-24 12:34:04 -04:00
2026-09-21 11:09:09 -04:00
2026-08-29 16:14:32 -04:00
2026-08-16 23:21:00 -07:00
2026-09-21 08:59:39 -04:00