Mintplex-Labs/anything-llm · error
Document processing API is not online. Link ${link} will not
Error message
Document processing API is not online. Link ${link} will not be processed automatically. What it means
Availability guard on POST /workspace/:slug/upload-link: the collector (document processing API) is offline, so the submitted link cannot be scraped/embedded and a 500 warns that it will not be processed automatically.
Source
Thrown at server/endpoints/workspaces.js:190
} catch (e) {
console.error(e.message, e);
response.sendStatus(500).end();
}
}
);
app.post(
"/workspace/:slug/upload-link",
[validatedRequest, flexUserRoleValid([ROLES.admin, ROLES.manager])],
async (request, response) => {
try {
const Collector = new CollectorApi();
const { link = "" } = reqBody(request);
const processingOnline = await Collector.online();
if (!processingOnline) {
response
.status(500)
.json({
success: false,
error: `Document processing API is not online. Link ${link} will not be processed automatically.`,
})
.end();
return;
}
const { success, reason } = await Collector.processLink(link);
if (!success) {
response.status(500).json({ success: false, error: reason }).end();
return;
}
Collector.log(
`Link ${link} uploaded processed and successfully. It is now available in documents.`
);
await Telemetry.sendTelemetry("link_uploaded");View on GitHub (pinned to 3aec848f28)
Solutions
- Bring the document processing (collector) service online.
- Verify collector connectivity and retry submitting the link.
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at server/endpoints/workspaces.js:190 when the library encounters an invalid state.
Common situations: Submitting a link to a workspace while the document processing API is offline.
AI-assisted analysis of Mintplex-Labs/anything-llm@3aec848f28 (2026-08-18).
Data as JSON: /api/errors/7a8b6f86a0dba4d9.
Report an issue: GitHub.