openagentry

AUTH · Error

E_NEXTAUTH_NETWORK

Network failure talking to the auth backend.

Package
@openagentry/adapter-auth-nextauth
Category
auth

— · Resolution

How to recover

Retry. If persistent, check the database/email provider configured for NextAuth.

— · The shape

What an instance looks like

throw new AgentryError({
  code: 'E_NEXTAUTH_NETWORK',
  phase: 'init',
  message: '…contextual message…',
  context: { /* adapter-specific */ },
  suggestedFix: 'Retry. If persistent, check the database/email provider configured for NextAuth.',
  docs: 'https://openagentry.dev/errors/E_NEXTAUTH_NETWORK',
});

The context field carries adapter-specific detail (HTTP status, missing env-var names, validation issues). It never contains secret values.


— · See also

Related codes from @openagentry/adapter-auth-nextauth