different-ai/openwork · error · ObservabilityConfigError
must include a project id
Error message
must include a project id
What it means
Error "must include a project id" thrown in different-ai/openwork.
Source
Thrown at ee/packages/utils/src/observability.ts:184
}
if (!parsed.hostname) {
throw new ObservabilityConfigError("must include a hostname", envKey)
}
return value
}
function validateSentryDsn(value: string): string {
validateHttpUrl(value, "SENTRY_DSN")
const parsed = new URL(value)
if (!parsed.username) {
throw new ObservabilityConfigError("must include a public key", "SENTRY_DSN")
}
const projectId = parsed.pathname.split("/").filter(Boolean).at(-1)
if (!projectId) {
throw new ObservabilityConfigError("must include a project id", "SENTRY_DSN")
}
return value
}
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
}View on GitHub (pinned to 2b7df46e8a)
When it happens
Trigger: Thrown at ee/packages/utils/src/observability.ts:184 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/a3ab645999fdb02b.
Report an issue: GitHub.