Budibase/budibase · error · HTTPError
LiteLLM team creation did not return a team ID
Error message
LiteLLM team creation did not return a team ID
What it means
Error "LiteLLM team creation did not return a team ID" thrown in Budibase/budibase.
Source
Thrown at packages/server/src/sdk/workspace/ai/configs/litellm.ts:125
Authorization: liteLLMAuthorizationHeader,
},
body: JSON.stringify({
team_alias: alias,
}),
})
if (!response.ok) {
const text = await response.text()
throw new HTTPError(
`Error creating LiteLLM team: ${text || response.statusText}`,
response.status
)
}
const json = await response.json()
const teamId = json.team_id || json.team_id_string || json?.team?.team_id
if (!teamId) {
throw new HTTPError("LiteLLM team creation did not return a team ID", 500)
}
return {
id: teamId,
alias,
}
}
async function getOrCreateTenantTeam(): Promise<LiteLLMTeam> {
const tenantId = context.getTenantId()
const teamAlias = getTenantTeamAlias()
const tenantDb = tenancy.getTenantDB(tenantId)
const existing =
await tenantDb.tryGet<LiteLLMTenantTeamConfig>(tenantTeamDocId)
if (existing) {
return {
id: existing.teamId,
alias: getTenantTeamAlias(),View on GitHub (pinned to a81a902e9a)
When it happens
Trigger: Thrown at packages/server/src/sdk/workspace/ai/configs/litellm.ts:125 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/cd67b7a712563976.
Report an issue: GitHub.