deepseek-ai/deepseek-harness · error
authorization: the interaction surface failed to render a no
Error message
authorization: the interaction surface failed to render a notice
What it means
Error "authorization: the interaction surface failed to render a notice" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/credentials/authorization/src/index.ts:396
// it happened *now* — on a re-auth the record already exists, so presence
// alone would let a flow that wrote nothing report the stale credential
// as freshly authorized.
const observed = { declined: false, committed: false }
const unwatch = this.ctx.on('credentials/record-updated', (key: CredentialKey) => {
if (key === flow.key) observed.committed = true
})
try {
const running = flow.run({
method,
signal,
notify: (notice) => {
try {
interaction.notify(notice)
} catch (error) {
// Fire-and-forget is held at the seam: a surface that cannot
// render a notice (a page whose connection just closed) loses the
// notice, never the attempt.
this.ctx.logger.warn('authorization: the interaction surface failed to render a notice')
this.ctx.logger.warn(error)
}
},
prompt: prompt => interaction.prompt(prompt).catch((error: unknown) => {
if (error instanceof AuthorizationDeclinedError) observed.declined = true
throw error
}),
})
try {
if (await Promise.race([running.then(() => 'ran' as const), withdrawn]) === 'withdrawn') {
// Nothing awaits the orphan any more, so its eventual failure has to be
// marked handled or it would take down the process.
void running.catch(() => { this.ctx.logger.debug('authorization: withdrawn flow failed after the fact') })
return { status: 'cancelled' }
}
} catch (error) {
// A withdrawn attempt and a declined prompt are outcomes, not
// failures: the human said no, or closed the page. Anything else isView on GitHub (pinned to b150a551b8)
Solutions
- Check that the interaction/approval UI plugin is loaded; restart the session to restore the authorization notice surface.
When it happens
Trigger: Thrown at packages/credentials/authorization/src/index.ts:396 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/6f64422764acb921.
Report an issue: GitHub.