deepseek-ai/deepseek-harness · error · Error
question response rejected: ${receipt.reason}
Error message
question response rejected: ${receipt.reason} What it means
Error "question response rejected: ${receipt.reason}" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/client/ui-user-questions/src/client/contract/slots.ts:119
get key(): string {
return this.wait.key
}
/** The request's question list, forwarded from the carrier payload. */
get questions(): QuestionWait['payload']['questions'] {
return this.wait.payload.questions
}
/**
* Deliver the whole answer batch; a rejected carrier receipt throws.
* @param answer - complete structured answer batch.
*/
async answer(answer: QuestionAnswer): Promise<void> {
const receipt = await this.wait.respond({
ok: true, value: { sessionId: this.wait.sessionId, answer },
})
if (!receipt.accepted) {
throw new Error(`question response rejected: ${receipt.reason}`)
}
}
/** Reject the whole wait (the host resolves the tool call as cancelled); a rejected receipt throws. */
async cancel(): Promise<void> {
const receipt = await this.wait.respond({
ok: false,
error: { code: 'cancelled', message: 'the user closed this question request', details: {} },
})
if (!receipt.accepted) {
throw new Error(`question cancellation rejected: ${receipt.reason}`)
}
}
}
/**
* Full component props: the framework runtime share (chain currency +
* session/global standard kit) plus the chain `matched` share — the entry'sView on GitHub (pinned to b150a551b8)
Solutions
- Read the rejection reason and submit the response within the allowed contract and window.
When it happens
Trigger: Thrown at packages/client/ui-user-questions/src/client/contract/slots.ts:119 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/d04e420b673dcc78.
Report an issue: GitHub.