AUTH · Error
E_NEXTAUTH_NOT_FOUND
A user, session, or token was not found.
— · Resolution
How to recover
Verify the identifier exists. Sessions are TTL-bound — they expire.
— · The shape
What an instance looks like
throw new AgentryError({
code: 'E_NEXTAUTH_NOT_FOUND',
phase: 'init',
message: '…contextual message…',
context: { /* adapter-specific */ },
suggestedFix: 'Verify the identifier exists. Sessions are TTL-bound — they expire.',
docs: 'https://openagentry.dev/errors/E_NEXTAUTH_NOT_FOUND',
});
The context field carries adapter-specific
detail (HTTP status, missing env-var names, validation issues). It
never contains secret values.
— · See also