Skip to content
Logo

Exit codes

Branch on exit codes, not output text.

CodeMeaningCommands
0success / syncedall
1generic failure - I/O, config, any unhandled errorall
2URL parse errorstorage check, storage use
2disallowed statement (SQL surface is read-only)sql
3no credentials matchedstorage, copy
4auth failedstorage, copy
5store lacks conditional-put (OCC)storage, copy
6destination missing source rows, or duplicate destination rowscopy

copy exit 6 is recoverable: re-run, the union merge converges. A malformed URL passed to copy fails with the generic exit 1; only storage check / storage use exit 2 on it.