Budibase/budibase · error

Provided information is not valid, cannot reset password - p

Error message

Provided information is not valid, cannot reset password - please try again.

What it means

Error "Provided information is not valid, cannot reset password - please try again." thrown in Budibase/budibase.

Source

Thrown at packages/backend-core/src/cache/passwordReset.ts:35

 * @return returns the code that was stored to redis.
 */
export async function createCode(userId: string, info: any): Promise<string> {
  const code = utils.newid()
  const client = await redis.getPasswordResetClient()
  await client.store(code, { userId, info }, TTL_SECONDS)
  return code
}

/**
 * Given a reset code this will lookup to redis, check if the code is valid.
 * @param code The code provided via the email link.
 * @return returns the user ID if it is found
 */
export async function getCode(code: string): Promise<PasswordReset> {
  const client = await redis.getPasswordResetClient()
  const value = (await client.get(code)) as PasswordReset | undefined
  if (!value) {
    throw new Error(
      "Provided information is not valid, cannot reset password - please try again."
    )
  }
  return value
}

/**
 * Given a reset code this will invalidate it.
 * @param code The code provided via the email link.
 */
export async function invalidateCode(code: string): Promise<void> {
  const client = await redis.getPasswordResetClient()
  await client.delete(code)
}

View on GitHub (pinned to a81a902e9a)

When it happens

Trigger: Thrown at packages/backend-core/src/cache/passwordReset.ts:35 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/c1a454b65a393e0b. Report an issue: GitHub.