different-ai/openwork · error · ObservabilityConfigError

must be http/protobuf

Error message

must be http/protobuf

What it means

Error "must be http/protobuf" thrown in different-ai/openwork.

Source

Thrown at ee/packages/utils/src/observability.ts:208

function parseUnitInterval(raw: string, envKey: string): number {
  const value = Number(raw)
  if (!Number.isFinite(value) || value < 0 || value > 1) {
    throw new ObservabilityConfigError("must be a number from 0 through 1", envKey)
  }
  return value
}

function parseOtelProtocol(env: ObservabilityEnv, envKey: string, fallback: OTelProtocol): OTelProtocol {
  const protocol = envValue(env, envKey)
  if (protocol === undefined) {
    return fallback
  }

  if (protocol === "http/protobuf") {
    return protocol
  }

  throw new ObservabilityConfigError("must be http/protobuf", envKey)
}

function parseOtelExporter(env: ObservabilityEnv, envKey: string): OTelSignalExporter {
  const exporter = envValue(env, envKey)
  if (exporter === undefined) {
    return "otlp"
  }

  switch (exporter) {
    case "otlp":
    case "none":
      return exporter
    default:
      throw new ObservabilityConfigError("must be otlp or none", envKey)
  }
}

function parseOtelSamplerName(env: ObservabilityEnv): OTelSampler {

View on GitHub (pinned to 2b7df46e8a)

When it happens

Trigger: Thrown at ee/packages/utils/src/observability.ts:208 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of different-ai/openwork@2b7df46e8a (2026-09-01). Data as JSON: /api/errors/aebe8bde8b267eef. Report an issue: GitHub.