Budibase/budibase · error · HTTPError

Error validating configuration: ${message}

Error message

Error validating configuration: ${message}

What it means

Error "Error validating configuration: ${message}" thrown in Budibase/budibase.

Source

Thrown at packages/server/src/sdk/workspace/ai/configs/litellm.ts:362

    if (text.includes("DB not connected")) {
      throw new HTTPError(
        "LiteLLM requires a database connection. Set DATABASE_URL on LiteLLM when store_model_in_db is enabled.",
        400
      )
    }
    throw new HTTPError(text, 500)
  }

  const json = await res.json()
  if (json?.status !== "success") {
    const message = [
      "Error validating configuration",
      sanitizeLiteLLMErrorMessage(json.error?.message || json.result?.error),
    ]
      .filter(Boolean)
      .join(": ")

    throw new HTTPError(message, 400)
  }
}

export async function validateConfig(model: {
  provider: string
  name: string
  credentialFields: Record<string, string>
  configType: AIConfigType
}) {
  if (model.configType !== AIConfigType.COMPLETIONS) {
    throw new HTTPError(`Unsupported AI config type: ${model.configType}`, 400)
  }
  return validateCompletionsModel(model)
}

export async function getKeySettings(): Promise<{
  keyId: string
  secretKey: string

View on GitHub (pinned to a81a902e9a)

When it happens

Trigger: Thrown at packages/server/src/sdk/workspace/ai/configs/litellm.ts:362 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of Budibase/budibase@a81a902e9a (2026-08-29). Data as JSON: /api/errors/a34a6ee2c5a2df85. Report an issue: GitHub.