DB · Error
E_NEON_AUTH
NEON_API_KEY is missing or unauthorized.
— · Resolution
How to recover
Generate a Neon API key at https://console.neon.tech/app/settings/api-keys and export NEON_API_KEY.
— · The shape
What an instance looks like
throw new AgentryError({
code: 'E_NEON_AUTH',
phase: 'init',
message: '…contextual message…',
context: { /* adapter-specific */ },
suggestedFix: 'Generate a Neon API key at https://console.neon.tech/app/settings/api-keys and export NEON_API_KEY.',
docs: 'https://openagentry.dev/errors/E_NEON_AUTH',
});
The context field carries adapter-specific
detail (HTTP status, missing env-var names, validation issues). It
never contains secret values.
— · See also