splitch

DocsCLICLI_VALIDATION_ERROR.md

CLI_VALIDATION_ERROR

Exit code
1
Details payload
{ field: string, reason: string }

Cause

The invocation parsed but its input failed contract validation before any request was sent. splitch flags create without a variant catalog, --variants without --key, or an unrecognized SPLITCH_PLATFORM_TARGET all land here.

Fix

The error names the offending field and reason. Fix the field and retry. Validation runs locally so a malformed create never reaches the control plane and never half-writes.

Related codes