Budibase/budibase · error · HTTPError
Config to edit not found
Error message
Config to edit not found
What it means
Error "Config to edit not found" thrown in Budibase/budibase.
Source
Thrown at packages/server/src/sdk/workspace/ai/configs/index.ts:284
| "_rev"
| "name"
| "provider"
| "credentialsFields"
| "model"
| "configType"
| "reasoningEffort"
| "webSearchConfig"
| "isDefault"
>
): Promise<CustomAIProviderConfig> {
const id = config._id
if (!id) {
throw new HTTPError("id cannot be empty", 400)
}
const existing = await find(id)
if (!existing) {
throw new HTTPError("Config to edit not found", 404)
}
if (config.credentialsFields) {
const mergedCredentials = {
...(existing.credentialsFields || {}),
...config.credentialsFields,
}
Object.entries(mergedCredentials).forEach(([key, value]) => {
if (value === PASSWORD_REPLACEMENT) {
mergedCredentials[key] = existing.credentialsFields?.[key] || ""
}
})
config.credentialsFields = mergedCredentials
}
if (config.webSearchConfig?.apiKey === PASSWORD_REPLACEMENT) {View on GitHub (pinned to a81a902e9a)
When it happens
Trigger: Thrown at packages/server/src/sdk/workspace/ai/configs/index.ts:284 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/34e7a3d1fba9babb.
Report an issue: GitHub.