Budibase/budibase · error · HTTPError
Error creating LiteLLM team: ${text || response.statusText}
Error message
Error creating LiteLLM team: ${text || response.statusText} What it means
Error "Error creating LiteLLM team: ${text || response.statusText}" thrown in Budibase/budibase.
Source
Thrown at packages/server/src/sdk/workspace/ai/configs/litellm.ts:116
return LiteLLMStatus.STARTING
}
}
async function createTeam(alias: string): Promise<LiteLLMTeam> {
const response = await fetch(`${liteLLMUrl}/team/new`, {
method: "POST",
headers: {
"Content-Type": "application/json",
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()View on GitHub (pinned to a81a902e9a)
When it happens
Trigger: Thrown at packages/server/src/sdk/workspace/ai/configs/litellm.ts:116 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/ab85e750b0bc023a.
Report an issue: GitHub.