AUTH · Error
E_NEXTAUTH_SCHEMA
Input failed Zod validation.
— · Resolution
How to recover
Inspect `error.context.issues` for the failing field paths.
— · The shape
What an instance looks like
throw new AgentryError({
code: 'E_NEXTAUTH_SCHEMA',
phase: 'init',
message: '…contextual message…',
context: { /* adapter-specific */ },
suggestedFix: 'Inspect `error.context.issues` for the failing field paths.',
docs: 'https://openagentry.dev/errors/E_NEXTAUTH_SCHEMA',
});
The context field carries adapter-specific
detail (HTTP status, missing env-var names, validation issues). It
never contains secret values.
— · See also