Budibase/budibase · error · HTTPError

Slack app configuration token rotation response was incomple

Error message

Slack app configuration token rotation response was incomplete

What it means

Error "Slack app configuration token rotation response was incomplete" thrown in Budibase/budibase.

Source

Thrown at packages/server/src/sdk/workspace/ai/deployments/slack.ts:274

    },
    body: new URLSearchParams({
      refresh_token: refreshToken,
    }),
  })
  const payload = (await response.json()) as SlackConfigTokenRotateResponse
  if (!response.ok) {
    throw new HTTPError(
      "Failed to rotate Slack app configuration token",
      response.status
    )
  }

  const rotated = assertSlackOk(
    payload,
    "Failed to rotate Slack app configuration token"
  )
  if (!rotated.token || !rotated.refresh_token || !rotated.exp) {
    throw new HTTPError(
      "Slack app configuration token rotation response was incomplete",
      400
    )
  }

  return {
    configToken: rotated.token,
    refreshToken: rotated.refresh_token,
    expiresAt: new Date(rotated.exp * 1000).toISOString(),
  }
}

View on GitHub (pinned to a81a902e9a)

When it happens

Trigger: Thrown at packages/server/src/sdk/workspace/ai/deployments/slack.ts:274 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/223b0e7000efc8de. Report an issue: GitHub.