Data FlowData Flow
DataFlow
  • User Manual
  • Developer Manual
  • Examples
  • API Reference
Overview
Getting Started
Pipeline Authoring
Execution
Deployment
Troubleshooting
    Common ErrorsSpark TroubleshootingAuth Troubleshooting
Examples
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

CodeHTTPMeaning
VALIDATION_ERROR400Spec validation failed
INVALID_ARGUMENT400Malformed request body
INVALID_PARAMETER400Bad request parameters
INVALID_DATE_FORMAT400Date filter not ISO format
CONSTRAINT_VIOLATION400Request constraint failed
FILE_TOO_LARGE413Upload above the size cap
DUPLICATE_RESOURCE409Pipeline name already exists
RESOURCE_ALREADY_EXISTS409Connection, role, or folder name taken
USER_ALREADY_EXISTS409Email already invited
RESOURCE_NOT_FOUND404Unknown ID (or deleted)
ACCESS_DENIED403Missing permission for the action
FEATURE_NOT_ENTITLED403License missing the entitlement
SERVICE_UNAVAILABLE503Backend or license outage
INTERNAL_SERVER_ERROR500Unexpected failure

Common problems

ProblemFix
validate-spec returns schema errorsThe response lists every violation - fix the YAML fields it names
Pipeline with name '...' already existsNames are unique - update with PUT, or pick a new name
401 / 403 on API callsSee Auth Troubleshooting - check the token and the user's role
Run ends FAILEDOpen the run's stages and stderr logs (below) - the error names the failing stage
Run ends CANCELLEDThe kill endpoint was called - check run history
No output filesCheck stages: if sources read 0 rows with no schema, declare schema: on the asset
Upload returns 413File above the upload cap (200MB default)
Upload rejected by extensionOnly csv, parquet, txt, json, orc, xlsx are accepted
Unsupported source typeOnly the six source types exist - see Sources
Scheduler never firesPipeline already has a RUNNING run, or the schedule is disabled

Reading a failed run

  1. Get the run's stages - the failing stage is marked FAILED with a failureReason:
TerminalCode
curl -H "Authorization: Bearer $TOKEN" \ "http://localhost:8080/api/pipelines/$PIPELINE_ID/runs/$RUN_ID/stages"
  1. Read the driver stderr - the error names the failing stage:
TerminalCode
curl -H "Authorization: Bearer $TOKEN" \ "http://localhost:8080/api/pipelines/$PIPELINE_ID/runs/$RUN_ID/logs?stream=stderr&tail=200"
  1. 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

CodeMeaning
LICENSE_KEY_MISSINGNo DATAFLOW_LICENSE_KEY set
INSTALLATION_ID_MISSINGNo DATAFLOW_INSTALLATION_ID set
FEATURE_NOT_ENTITLEDLicense lacks the required entitlement
SERVICE_UNAVAILABLELicense 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
Suggest edit
Last modified on November 26, 2026
Environment VariablesSpark Troubleshooting
On this page
  • At a glance
  • Error codes
  • Common problems
  • Reading a failed run
  • License errors
  • Related pages