openagentry

HOST · Error

E_VERCEL_BAD_STATE

Project is in a state that doesn't accept this operation.

Package
@openagentry/adapter-host-vercel
Category
host

— · Resolution

How to recover

Inspect `error.context.state` and either retry later or reset the project state.

— · The shape

What an instance looks like

throw new AgentryError({
  code: 'E_VERCEL_BAD_STATE',
  phase: 'init',
  message: '…contextual message…',
  context: { /* adapter-specific */ },
  suggestedFix: 'Inspect `error.context.state` and either retry later or reset the project state.',
  docs: 'https://openagentry.dev/errors/E_VERCEL_BAD_STATE',
});

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-host-vercel