Troubleshooting
Common Errors
Errors come back as JSON with a code, an HTTP status, and a message: {status, code, message, timestamp}. This page maps the codes to causes and fixes, and covers the problems that show up most often in pipelines and runs.
At a glance
- One shape - every error is
{status, code, message, timestamp}. - Code first - the code names the class of problem; the HTTP status groups it (400 request, 403 access, 404 unknown, 409 conflict, 413 upload, 503 outage).
- Failed run? - read the run's stages and stderr; the failing stage is named.
Error codes
| Code | HTTP | Meaning |
|---|---|---|
VALIDATION_ERROR | 400 | Spec validation failed |
INVALID_ARGUMENT | 400 | Malformed request body |
INVALID_PARAMETER | 400 | Bad request parameters |
INVALID_DATE_FORMAT | 400 | Date filter not ISO format |
CONSTRAINT_VIOLATION | 400 | Request constraint failed |
FILE_TOO_LARGE | 413 | Upload above the size cap |
DUPLICATE_RESOURCE | 409 | Pipeline name already exists |
RESOURCE_ALREADY_EXISTS | 409 | Connection, role, or folder name taken |
USER_ALREADY_EXISTS | 409 | Email already invited |
RESOURCE_NOT_FOUND | 404 | Unknown ID (or deleted) |
ACCESS_DENIED | 403 | Missing permission for the action |
FEATURE_NOT_ENTITLED | 403 | License missing the entitlement |
SERVICE_UNAVAILABLE | 503 | Backend or license outage |
INTERNAL_SERVER_ERROR | 500 | Unexpected failure |
Common problems
| Problem | Fix |
|---|---|
validate-spec returns schema errors | The response lists every violation - fix the YAML fields it names |
Pipeline with name '...' already exists | Names are unique - update with PUT, or pick a new name |
401 / 403 on API calls | See Auth Troubleshooting - check the token and the user's role |
Run ends FAILED | Open the run's stages and stderr logs (below) - the error names the failing stage |
Run ends CANCELLED | The kill endpoint was called - check run history |
| No output files | Check stages: if sources read 0 rows with no schema, declare schema: on the asset |
| Upload returns 413 | File above the upload cap (200MB default) |
| Upload rejected by extension | Only csv, parquet, txt, json, orc, xlsx are accepted |
Unsupported source type | Only the six source types exist - see Sources |
| Scheduler never fires | Pipeline already has a RUNNING run, or the schedule is disabled |
Reading a failed run
- Get the run's stages - the failing stage is marked
FAILEDwith afailureReason:
Code
- Read the driver stderr - the error names the failing stage:
Code
- Fix the spec (or the data), validate, re-run. A failed run is safe to re-run - offsets and state were not committed.
License errors
| Code | Meaning |
|---|---|
LICENSE_KEY_MISSING | No DATAFLOW_LICENSE_KEY set |
INSTALLATION_ID_MISSING | No DATAFLOW_INSTALLATION_ID set |
FEATURE_NOT_ENTITLED | License lacks the required entitlement |
SERVICE_UNAVAILABLE | License service unreachable |
Execution is gated; read-only use (browsing pipelines, history, connections) works without a valid license. A short outage is covered by the grace period (12h default); past it, execution returns SERVICE_UNAVAILABLE until the license validates again. Check status any time with GET /api/license/status.
Related pages
- Auth Troubleshooting - 401/403 in depth
- Spark Troubleshooting - engine-side failures
- Execution Lifecycle - statuses and failure semantics
- FAQ - quick answers
Last modified on