Troubleshooting
Start by identifying the failed stage: local input, authentication, platform admission, execution, artifact persistence, inference or cleanup. Preserve the resource ID and timestamp from the earliest successful step. Work accepted before a later failure is still there.
First read-only checks
el --version
el --help
el auth config show --json
el auth status --check --json
These checks reveal the installed interface, effective address, scope and Key presence. They do not print the Key. Inspect the output before sharing because project names and IDs can still be private. Add the appropriate el job get JOB_ID read for the failed workflow.
Installation and command input
| Symptom | Action |
|---|---|
tomllib import error | Check the package's current Python requirements and activate the intended virtual environment |
| Training import fails | The standard package includes the Train Job client. Check that the script uses the Python environment where envloop-cli is installed; an isolated uv tool environment is separate from a project environment |
Missing trial, checkpoint or job | Check command -v el; install or upgrade the public envloop-cli package |
| Exit 2 | Read the printed command help and provide required inputs; Agent and Train submission is under job submit |
| Unexpected table in a pipe | Add --json; redirection does not change output mode |
| A resource seems missing from a list | Check project and filters, then follow pagination; the first page is not the whole catalog |
Authentication and scope
| Symptom | Meaning and recovery |
|---|---|
| 401 | Missing, expired, revoked or rejected authentication; verify the effective Key source and rotate if needed |
403 / ACCESS_DENIED | Identity is not sufficient for this operation; check role, Key purpose, endpoint allowlist and human-session requirements |
| 404 / unavailable resource | Check exact ID, URL, workspace/project and access |
| CLI works but SDK does not | CLI may use a cwd .env.local address; SDK does not. Save shared configuration or pass explicit SDK values |
| Saved login seems ignored | Environment URL, Key, workspace and project override saved settings; inspect source fields without printing secrets |
| New URL has no Key | Stored Keys are URL-bound; configure the target platform's own Key |
Access continues after auth logout | Logout only removes local saved Keys for that URL. An environment Key remains active; revoke server-side if necessary |
| Workspace/project cannot be selected | Membership does not move a project Key to another scope. Supply that project's Key and verify it |
| Members or settings CLI is denied | These management routes require a human session; use Console. Reinstalling does not expand Key privileges |
A connection timeout or DNS/TLS failure points to the network. Check the public address and network, then retry a read. Do not disable transport checks or send credentials to a different host to work around it.
Private configuration files
| Error | Recovery |
|---|---|
CONFIG_INSECURE_PATH | Use auth config path; verify intended ownership, no symlinks, private directory 0700 and files 0600 before correcting permissions |
CONFIG_STORAGE_UNSUPPORTED | POSIX persistence is required; on Windows use environment/explicit SDK values with config=False |
CONFIG_CHANGED | Configuration changed during credential verification; inspect the current target and repeat setup |
CONFIG_PARTIALLY_SAVED | A Key may already have changed while URL storage failed. Fix the filesystem issue and rerun configuration; do not assume the old Key remains active |
| Damaged/unknown-version configuration | Preserve a private backup, inspect the client version and repair deliberately; do not publish auth.json |
Jobs, Trials and datasets
| Symptom | Action |
|---|---|
| Dataset missing or ambiguous | Discover actual names and revisions, inspect config/split and use an authorized exact selection |
| Two-file submission rejected | Include exactly UTF-8 runner.toml plus its declared main.py or main.sh; no symlinks or extra inputs |
| Profile missing or no default | Check the project, explicit name@version or named default; archiving a version does not pick a new default, so set one |
REPOSITORY_BINDING_REQUIRED | An older client is using a legacy path; install the current remote Profile client |
| Job completed but score is low/missing | Inspect per-Trial execution and verifier outcomes; read the returned reward and verifier report |
| Submission refused with a dataset or Runner code | Read the printed message, Hint: and detail lines; Error codes explains each code, e.g. DATASET_TASK_ARCHIVE_TOO_LARGE |
| Trial failed | el job get JOB_ID prints each failed Trial's code, phase and reason; see Error codes. Then read the Console Logs tab, execution details and uploaded artifacts; the public result route omits stdout/stderr |
| Wait timed out | Only client waiting may have expired; query the existing Job, wait again or explicitly stop |
CANCELLATION_UNSUPPORTED | Inspect the existing Job’s state and contact support about stopping it |
el dataset create returns 409 ASSET_PIN_CONFLICT: the name and version are already published with different content | A published version never changes, even when its registration failed; the existing publication, its content and its registration result are unchanged. Publish the changed content under a new version. To reuse the version of a failed registration, run el dataset delete ASSET_ID first, then upload again |
Dataset registration failed with DATASET_NAMESPACE_UNAVAILABLE | Registrations no longer claim namespaces, so this only appears on a registration that failed before that change. Run el dataset registration create ASSET_ID --runner NAME@REVISION again; your project registers its own copy, even when another project uses the same name |
Training, checkpoints and inference
| Symptom | Action |
|---|---|
| Training is preparing for a long time | Inspect the original Job’s state, events and logs; avoid submitting duplicate Jobs |
| Training submission timed out | Inspect the original Job; retry identical Train Job requests with the same request ID to avoid duplicate Jobs |
| Lower loss but worse answers | Compare complete held-out outputs with fixed format, length and stopping rules; check task balance and loss weights |
| No checkpoints listed | Confirm the save operation completed and the same project/session/run filters. A checkpoint is listed once its save completes |
| Checkpoint URI exists but no files | Inspect registration and file metadata, then retry the download before using the checkpoint |
CHECKPOINT_AMBIGUOUS | Add the matching session/run filter or use the exact returned checkpoint reference |
CHECKPOINT_FILES_UNAVAILABLE | Registered file metadata is unavailable; a URI alone cannot be downloaded |
| Artifact checksum/size mismatch | Do not use the file. Request fresh metadata and retry a verified download; preserve the sanitized error |
| Endpoint created but cannot answer | Inspect endpoint status/events, adapter readiness, model identifier and Key endpoint allowlist; then make a real request |
| Endpoint is idle/scaled to zero | A request may need a cold start under the endpoint's existing policy; inspect events rather than assuming deletion |
| Inference Key can list one endpoint but cannot train | Expected least-privilege behavior; use an appropriate separate project Key for training |
Follow the training operation through its optimizer result, download the saved checkpoint, then test inference using the returned model name. See Training and Checkpoints.
Cleanup and concurrent edits
A cleanup request returns an operation ID. Inspect el setting operation get OPERATION_ID or wait with el setting operation wait OPERATION_ID. Failed cleanup can leave resources allocated. Resolve its specific failure and use the supported retry rather than blindly creating a second unrelated cleanup.
RESOURCE_BUSY during project archive means running work must finish or be stopped first. VERSION_CONFLICT means another change won; refresh and reapply only your intended edit. For missing usage values, see Usage metering.
Report an issue
When reporting a problem through your support channel, distinguish client setup from platform service behavior. Include:
- Installed package details from
python -m pip show envloop-cli, Python environment and relevant Console page or public API route. - UTC time, failed stage, expected outcome and actual outcome.
- Sanitized command and non-secret options, stable error code, HTTP status and request ID if shown.
- Relevant resource identifiers where disclosure is appropriate, plus last known status and cleanup outcome.
- Minimal reproduction with synthetic inputs; screenshots only after checking account names, balances and browser chrome.
Never include API Keys, cookies, authorization headers, complete environment dumps, auth.json, signed download URLs, private datasets or raw private billing records. Logs may contain user data even when authentication is redacted. Keep the original privately and share the smallest redacted excerpt needed to explain the failure.