Budibase/budibase · error

Invalid date value: "${input}"

Error message

Invalid date value: "${input}"

What it means

Error "Invalid date value: "${input}"" thrown in Budibase/budibase.

Source

Thrown at packages/server/src/utilities/rowProcessor/map.ts:142

    "": null,
    //@ts-ignore
    [null]: null,
    //@ts-ignore
    [undefined]: undefined,
    parse: input => {
      if (input instanceof Date) {
        return input.toISOString()
      } else if (typeof input === "string" && sql.utils.isValidTime(input)) {
        return input
      } else {
        // Date strings can come in without timezone info. In this case we want
        // to make sure we're parsing them in as UTC because the rest of the
        // system expects UTC dates.
        let parsed = new Date(`${input}Z`)
        if (isNaN(parsed.getTime())) {
          parsed = new Date(input as string)
          if (isNaN(parsed.getTime())) {
            throw new Error(`Invalid date value: "${input}"`)
          }
        }
        return parsed.toISOString()
      }
    },
  },
  [FieldType.ATTACHMENTS]: {
    //@ts-ignore
    [null]: [],
    //@ts-ignore
    [undefined]: undefined,
    parse: parseArrayString,
  },
  [FieldType.ATTACHMENT_SINGLE]: {
    "": null,
  },
  [FieldType.BOOLEAN]: {
    "": null,

View on GitHub (pinned to a81a902e9a)

When it happens

Trigger: Thrown at packages/server/src/utilities/rowProcessor/map.ts:142 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/ad109deefcb45919. Report an issue: GitHub.