paperclipai/paperclip · error
Attachment upload failed with HTTP ${response.status}.
Error message
Attachment upload failed with HTTP ${response.status}. What it means
Error "Attachment upload failed with HTTP ${response.status}." thrown in paperclipai/paperclip.
Source
Thrown at packages/plugins/plugin-llm-wiki/src/ui/issue-attachments.ts:46
export async function uploadIssueAttachmentFile(input: {
companyId: string;
issueId: string;
file: File;
fetchImpl?: FetchLike;
}): Promise<unknown> {
const fetchImpl = input.fetchImpl ?? fetch;
const form = new FormData();
form.append("file", input.file);
const response = await fetchImpl(
`/api/companies/${encodeURIComponent(input.companyId)}/issues/${encodeURIComponent(input.issueId)}/attachments`,
{
method: "POST",
credentials: "include",
body: form,
},
);
if (!response.ok) {
throw new Error(await readUploadError(response));
}
return response.json();
}
View on GitHub (pinned to 120ae5428f)
Solutions
- Check the upload endpoint status and server logs; verify authentication and file size limits, then retry.
When it happens
Trigger: Thrown at packages/plugins/plugin-llm-wiki/src/ui/issue-attachments.ts:46 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@120ae5428f (2026-08-18).
Data as JSON: /api/errors/570bfcb93b5e46b1.
Report an issue: GitHub.