一键导入
troubleshooting
Use when debugging failed jobs, diagnosing errors, or resolving common Dataiku issues
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when debugging failed jobs, diagnosing errors, or resolving common Dataiku issues
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when creating, configuring, or running any Dataiku recipe (prepare, join, group, sync, python) including data cleaning, formulas, and GREL
Use when working with data collections, dataset metadata, tags, meanings, or AI-generated descriptions
Use when creating datasets, uploading files, managing schemas, or configuring dataset connections
Use when building datasets, running multi-step pipelines, managing dependencies, or orchestrating recipe execution order
Use when training prediction models, extracting metrics, configuring algorithms, or deploying models
| name | troubleshooting |
| description | Use when debugging failed jobs, diagnosing errors, or resolving common Dataiku issues |
which python should show dataiku-envecho $DSS_URLscripts/bootstrap.pysettings.save()recipe.run()job.get_status()autodetect_settings()| Error | Cause | Solution |
|---|---|---|
Connection refused | Wrong DSS_URL or instance down | Verify URL, check instance status |
401 Unauthorized | Invalid or expired API key | Regenerate key in Dataiku UI |
Project not found | Wrong project key or no access | client.list_project_keys() to verify |
| Settings not saved | Missing settings.save() | Always call settings.save() after changes |
| Recipe ran but no data | Filter/join removed all rows | Check inputs, join keys, filters |
| Job failed | Schema mismatch, missing inputs | Inspect job status and logs |
invalid identifier (quoted) | Lowercase column names in SQL schema | Normalize schema to UPPERCASE |
table does not exist | Upstream dataset not built | Build datasets in dependency order |
Insert value list mismatch | Output schema doesn't match recipe output | Run recipe.compute_schema_updates() and apply |
ModuleNotFoundError: dataikuapi | Virtual environment not activated | source ~/dataiku-env/bin/activate |
# Get the most recent job and extract error details
jobs = project.list_jobs()
job = project.get_job(jobs[0]['def']['id'])
status = job.get_status()
state = status.get("baseStatus", {}).get("state") # "DONE" or "FAILED"
if state == "FAILED":
activities = status.get("baseStatus", {}).get("activities", {})
for name, info in activities.items():
if info.get("firstFailure"):
print(f"Error: {info['firstFailure'].get('message')}")
# Or get full log
print(job.get_log())
Important:
recipe.run()already waits for completion internally. Userecipe.run(no_fail=True)to prevent exceptions on failure, then inspect the returned job object.
For full details on each error category including causes, code examples, and solutions: