Budibase/budibase · error · HTTPError

Google knowledge base is missing its file store configuratio

Error message

Google knowledge base is missing its file store configuration

What it means

Error "Google knowledge base is missing its file store configuration" thrown in Budibase/budibase.

Source

Thrown at packages/server/src/sdk/workspace/ai/knowledgeBase/crud.ts:143

        throw new HTTPError("Knowledge base type cannot be changed", 400)
      }
      updated = {
        ...existing,
        ...config,
        type: KnowledgeBaseType.GEMINI,
        config: { googleFileStoreId: existing.config.googleFileStoreId },
      } satisfies GeminiKnowledgeBase
      break
    }
    default:
      throw utils.unreachable(knowledgeBaseType)
  }

  if (
    updated.type === KnowledgeBaseType.GEMINI &&
    !updated.config.googleFileStoreId
  ) {
    throw new HTTPError(
      "Google knowledge base is missing its file store configuration",
      400
    )
  }
  await ensureUniqueName(updated.name, updated._id)
  updated.name = updated.name.trim()

  const { rev } = await db.put(updated)
  updated._rev = rev

  return updated
}

export async function remove(id: string) {
  const db = context.getWorkspaceDB()

  const existing = await db.get<KnowledgeBase>(id)
  await db.remove(existing)

View on GitHub (pinned to a81a902e9a)

When it happens

Trigger: Thrown at packages/server/src/sdk/workspace/ai/knowledgeBase/crud.ts:143 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/d12b01f5637b3db3. Report an issue: GitHub.