{"record":{"id":"d04e420b673dcc78","repo":"deepseek-ai/deepseek-harness","slug":"question-response-rejected-receipt-reason","errorCode":null,"errorMessage":"question response rejected: ${receipt.reason}","messagePattern":"question response rejected: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/client/ui-user-questions/src/client/contract/slots.ts","lineNumber":119,"sourceCode":"  get key(): string {\n    return this.wait.key\n  }\n\n  /** The request's question list, forwarded from the carrier payload. */\n  get questions(): QuestionWait['payload']['questions'] {\n    return this.wait.payload.questions\n  }\n\n  /**\n   * Deliver the whole answer batch; a rejected carrier receipt throws.\n   * @param answer - complete structured answer batch.\n   */\n  async answer(answer: QuestionAnswer): Promise<void> {\n    const receipt = await this.wait.respond({\n      ok: true, value: { sessionId: this.wait.sessionId, answer },\n    })\n    if (!receipt.accepted) {\n      throw new Error(`question response rejected: ${receipt.reason}`)\n    }\n  }\n\n  /** Reject the whole wait (the host resolves the tool call as cancelled); a rejected receipt throws. */\n  async cancel(): Promise<void> {\n    const receipt = await this.wait.respond({\n      ok: false,\n      error: { code: 'cancelled', message: 'the user closed this question request', details: {} },\n    })\n    if (!receipt.accepted) {\n      throw new Error(`question cancellation rejected: ${receipt.reason}`)\n    }\n  }\n}\n\n/**\n * Full component props: the framework runtime share (chain currency +\n * session/global standard kit) plus the chain `matched` share — the entry's","sourceCodeStart":101,"sourceCodeEnd":137,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/client/ui-user-questions/src/client/contract/slots.ts#L101-L137","documentation":"Error \"question response rejected: ${receipt.reason}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/client/ui-user-questions/src/client/contract/slots.ts:119 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the rejection reason and submit the response within the allowed contract and window."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}