paperclipai/paperclip · error
Adapter "${adapterType}" is not in the configured adapter re
Error message
Adapter "${adapterType}" is not in the configured adapter registry What it means
Error "Adapter "${adapterType}" is not in the configured adapter registry" thrown in paperclipai/paperclip.
Source
Thrown at packages/plugins/sandbox-providers/kubernetes/src/adapter-defaults.ts:84
allowFqdns: entry.allowFqdns ?? [],
probeCommand: entry.probeCommand ?? [],
defaultEnv: entry.defaultEnv,
};
}
/**
* Resolve the runtime defaults for an adapter. When a `registry` is supplied it
* is authoritative (replace semantics): the type MUST be present and complete,
* else this throws. With no registry, falls back to the built-in REGISTRY.
*/
export function getAdapterDefaults(
adapterType: string,
registry?: readonly AdapterRegistryEntry[],
): AdapterDefaults {
if (registry && registry.length > 0) {
const entry = registry.find((e) => e.adapterType === adapterType);
if (!entry) {
throw new Error(`Adapter "${adapterType}" is not in the configured adapter registry`);
}
return fromRegistryEntry(entry);
}
const defaults = REGISTRY[adapterType];
if (!defaults) {
throw new Error(`Unknown adapter type: ${adapterType}`);
}
return defaults;
}
/**
* Resolve the adapter type for a single run: prefer the run's adapter (the agent's,
* from the lease params) so one environment can serve mixed harnesses; fall back to
* the environment's configured default adapter when the run does not specify one.
*/
export function resolveRunAdapterType(
runAdapterType: string | null | undefined,
configAdapterType: string,View on GitHub (pinned to 120ae5428f)
Solutions
- Register the adapter type in the adapter registry configuration.
When it happens
Trigger: Thrown at packages/plugins/sandbox-providers/kubernetes/src/adapter-defaults.ts:84 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@120ae5428f (2026-08-18).
Data as JSON: /api/errors/d57f4a1a7000e580.
Report an issue: GitHub.