windmill-labs/windmill · error
--datatable '${opts.datatable}' is not in the workspace's da
Error message
--datatable '${opts.datatable}' is not in the workspace's datatable list (${datatables.join(", ")}). Continuing anyway. What it means
Advisory warning in `wmill app new`: the --datatable value was not found among the datatables the CLI fetched for the workspace (typo, wrong workspace, or not-yet-created table). Because --datatable was passed explicitly in non-interactive mode, creation proceeds anyway rather than failing.
Source
Thrown at cli/src/commands/app/new.ts:433
}
// Data configuration
let dataConfig: DataConfig = {};
let createSchemaSQL: string | undefined;
let schemaName: string | undefined;
// Treat the run as non-interactive once any required-for-non-interactive flag is set.
// In that mode, skip all datatable/overwrite/desktop prompts unless the user opted in
// via the corresponding flag.
const nonInteractive =
opts.summary !== undefined ||
opts.path !== undefined ||
opts.framework !== undefined;
if (opts.datatable !== undefined) {
// Non-interactive datatable + (optional) schema configuration
if (datatables.length > 0 && !datatables.includes(opts.datatable)) {
log.warn(
colors.yellow(
`--datatable '${opts.datatable}' is not in the workspace's datatable list (${datatables.join(", ")}). Continuing anyway.`
)
);
}
dataConfig.datatable = opts.datatable;
if (opts.schema !== undefined) {
if (!/^[a-z_][a-z0-9_]*$/.test(opts.schema)) {
log.error(
colors.red(
`--schema must start with a letter or underscore and contain only lowercase letters, numbers, and underscores: ${opts.schema}`
)
);
return;
}
schemaName = opts.schema;
dataConfig.schema = schemaName;
const existingSchemas = datatableSchemas.get(opts.datatable) ?? [];View on GitHub (pinned to e474e8803c)
Solutions
- Verify the datatable name spelling and workspace with `wmill datatable list`
- Create the datatable in the target workspace before running the command
- Drop --datatable to be prompted interactively for the correct table
Defensive patterns
Strategy: fallback
When it happens
Trigger: Thrown at cli/src/commands/app/new.ts:433 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of windmill-labs/windmill@e474e8803c (2026-09-03).
Data as JSON: /api/errors/17d66bdbb587cfaa.
Report an issue: GitHub.