error: <CODE>: <message> on stderr, followed by hint: <command> when a hint is
set. A hint that is a blobhub command repeats the global --org and --profile the run was given, before the group,
so it acts on the same org and credentials; no other global option is repeated. --json emits
{"error", "hint", "code", "schema_version"} on stderr instead, plus limit (the refused limit’s {id, value}, and
held for a quota) whenever the platform’s refusal names one, the human message then ending with
(limit <id>: value <value>, held <held>). A WIDGET_NOT_CONFIRMED envelope also carries confirm, the lines of each
widget whose permissions changed. The exit code is always 1 for these; 0 is success and 2 is a usage error
(unknown flag, missing required option, or — now the likeliest way a scripted caller sees it — a source conflict: two
sources named for one login value, or two flags both trying to read stdin). A source conflict has no code of its own
and prints a plain error: <message>, because it’s a malformed command line rather than one of the failures catalogued
below.
A script should key off the code and the exit status, never the message text. This CLI shares its
credentials file and a chunk of this error vocabulary with
blobhub-worker, but the two are independently versioned PyPI
packages, and where both raise the same code they are free to word it differently. For a missing key at
login, this CLI says no API key: pass --api-key, --api-key-stdin, or --api-key-env VAR; blobhub-worker says
an API key is required: use --api-key, --api-key-stdin, or --api-key-env. Same INPUT_REQUIRED, same exit
status 1, deliberately different prose — a script that matches on the message instead of the code is one
release away from breaking.
Where a remediation below shows <group>, the binary substitutes the group of the command you ran —
blobhub workflow diff -f <path> for a workflow manifest, blobhub scheduler diff -f <path> for a scheduler one.
A hint is contractually a command you can paste, and one that named workflow unconditionally would answer
MANIFEST_TYPE_MISMATCH when pasted against a scheduler manifest.
blobhub completion is the one command exempt from --json: its output is a
shell script meant to be piped into a file, and wrapping it in an envelope would make the only use of the command
impossible.
Advisories are a separate, non-fatal category: printed as warning: <CODE>: <message> on stderr, suppressed under
-q and whenever stderr is not a TTY, so piping and CI logs stay quiet unless a real terminal is attached. They
never change a command’s exit code, and no flag brings a suppressed one back — see Advisories.
This page mirrors the CLI’s own error-code reference, and is checked against the binary’s catalog in both
directions: it can neither name a code the CLI cannot raise nor omit one it can. Where that reference has fallen
behind the binary, this page states what the binary does and records the difference under
Where this page diverges from the CLI reference.
Credentials and authentication
API transport
Manifest
Blob and revision
Definitions
Format
Entry points and imports
Components
Playground
Checks
Sessions and executions
Workflow reference
Schedules
Widgets
A
WIDGET_INVALID naming content_hash, offline or on upload, usually means a committed source was edited without a
rebuild. For an entry with a widget binding its hint is blobhub workflow build -f <manifest> --definition <alias>,
which repacks that source alone with a fresh hash; an entry without one has nothing for build to repack, and no other
WIDGET_INVALID has a hint.
Limits
Advisories
Non-fatal, printed aswarning: <CODE>: <message>, suppressed under -q and when stderr is not a TTY.
-v does not bring a suppressed advisory back, and no other flag does either — so an advisory is unobservable
from automation: suppressed on a pipe, absent from the --json payload, visible only on a terminal. That bites
hardest on DEFINITION_LIST_TRUNCATED and IMPORT_UNVERIFIED, each of which says a run may have acted on
incomplete information, so where one would change what you do, reach instead for the flag that turns its
condition into a hard failure — workflow build --strict-imports promotes IMPORT_UNVERIFIED to a refusal. See
Advisories for why verbosity and advisories are separate channels.
Where this page diverges from the CLI reference
This page is a mirror ofdocs/reference/error-codes.md in the CLI repository. That file predates two releases of
the binary, and a little of what it says never held. Every claim the binary contradicts is stated here as the
binary behaves, and listed below so the difference reads as staleness in the source rather than drift in this
page. Each is logged for repair upstream.
See also
- Configuration — the streams, envelopes and exit codes these codes travel on.
- Concepts — the platform behaviours behind several of them, including the
403that cannot distinguish absent from inaccessible. - Utilities —
doctorreports several of these codes as rows rather than raising them.

