paperclipai/paperclip · error · HttpError
Invalid query value
Error message
Invalid ${field} query value What it means
Query validation in parseDateQuery on the issues routes: the named query parameter was a non-empty string but could not be parsed into a valid Date (Number.isNaN on getTime). The route rejects the malformed timestamp with HttpError 400 rather than treating it as absent.
Solutions
- Pass a valid value for the named query parameter; check the API docs for allowed values.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at server/src/routes/issues.ts:3691 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@3f1d897a7c (2026-08-18).
Data as JSON: /api/errors/eac2cd71fbee67fa.
Report an issue: GitHub.
Appendix: source
Thrown at server/src/routes/issues.ts:4744
const approvals = await issueApprovalsSvc.listApprovalsForIssue(
input.existing.id,
);
if (
approvals.some((approval) =>
ACTIVE_REVIEW_APPROVAL_STATUSES.has(String(approval.status)),
)
)
return null;
throw unprocessable(INVALID_AGENT_IN_REVIEW_DISPOSITION_MESSAGE, {
code: "invalid_issue_disposition",
missing: "review_path",
validReviewPaths: [
"pending_issue_thread_interaction",
"linked_pending_approval",
"human_assignee_user_id",
"typed_execution_state_current_participant",
"scheduled_issue_monitor",
],
});
}
async function logExpiredRequestConfirmations(input: {
issue: { id: string; companyId: string; identifier?: string | null };
interactions: Array<{
id: string;
kind: string;
status: string;
result?: unknown;
}>;
actor: ReturnType<typeof getActorInfo>;
source: string;
}) {
for (const interaction of input.interactions) {
await logActivity(db, {
companyId: input.issue.companyId,View on GitHub (pinned to 3f1d897a7c)