HOST · Error
E_CF_AUTH
Cloudflare API token / account ID missing or rejected.
— · Resolution
How to recover
Generate a token at https://dash.cloudflare.com/profile/api-tokens. Export CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID.
— · The shape
What an instance looks like
throw new AgentryError({
code: 'E_CF_AUTH',
phase: 'init',
message: '…contextual message…',
context: { /* adapter-specific */ },
suggestedFix: 'Generate a token at https://dash.cloudflare.com/profile/api-tokens. Export CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID.',
docs: 'https://openagentry.dev/errors/E_CF_AUTH',
});
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-cloudflare
-
E_CF_NOT_FOUNDCloudflare project, deployment, or domain not found. -
E_CF_HTTPCloudflare returned a non-OK HTTP status. -
E_CF_NETWORKNetwork failure reaching Cloudflare. -
E_CF_RATE_LIMITEDCloudflare API rate limit reached. -
E_CF_PAGES_APICloudflare Pages-specific API error. -
E_CF_SCHEMAInput failed Zod validation.