vercel/ai · error

ACP client app values were not supplied to the bridge.

Error message

ACP client app values were not supplied to the bridge.

What it means

Error "ACP client app values were not supplied to the bridge." thrown in vercel/ai.

Source

Thrown at packages/harness-acp/src/v1/bridge/index.ts:704

  agent: acp.ClientContext;
  initialization: ACPInitializeResult;
  authentication: ACPAuthentication;
}): Promise<void> {
  assertACPAuthenticationMethod({
    initialization,
    methodId: authentication.methodId,
  });
  await agent.request(acp.methods.agent.authenticate, {
    methodId: authentication.methodId,
    ...(authentication.meta == null ? {} : { _meta: authentication.meta }),
  });
}

function resolveClientApp(): ACPClientApp {
  const name = processEnv.AI_SDK_ACP_CLIENT_APP_NAME;
  const version = processEnv.AI_SDK_ACP_CLIENT_APP_VERSION;
  if (name == null || version == null) {
    throw new Error('ACP client app values were not supplied to the bridge.');
  }
  return { name, version };
}

function resolveGatewayValues({
  clientApp,
}: {
  clientApp: ACPClientApp;
}): ACPGatewayValues {
  const apiKey = processEnv.AI_SDK_ACP_GATEWAY_API_KEY;
  const baseUrl = processEnv.AI_SDK_ACP_GATEWAY_BASE_URL;
  if (apiKey == null || baseUrl == null) {
    throw new Error(
      'AI Gateway profile values were not supplied to the ACP bridge.',
    );
  }
  return {
    apiKey,

View on GitHub (pinned to 69428b1f8b)

When it happens

Trigger: Thrown at packages/harness-acp/src/v1/bridge/index.ts:704 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of vercel/ai@69428b1f8b (2026-08-30). Data as JSON: /api/errors/b4b9bc600dc8e02a. Report an issue: GitHub.