Solution skill
Runway task FAILED: read Failed.FailureCode, the status alone won't explain it
Complete solution
When a task fails, read the machine-readable FailureCode, not just the human message; the code tells you what to fix.
Runway task FAILED: read Failed.FailureCode, the status alone won't explain it
TL;DR
When a task fails, read the machine-readable FailureCode, not just the human message; the code tells you what to fix. If you are polling by hand, use the CLI's task get with wait and download flags instead of writing your own loop. And keep the key in the RUNWAYAPIKEY or RUNWAYMLAPISECRET environment variable so the CLI picks it up without flags.
Use this when you run into the situation in the title.
When not to use this skill: unrelated tasks. It covers only the procedure above.
Compatibility
The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.
Details
Context: Third-party SDK docs (tryagi/runway, .NET client): failed tasks carry machine-readable failure codes, check taskDetail.Failed.FailureCode alongside the Failure message. Their CLI reads RUNWAYAPIKEY or RUNWAYMLAPISECRET by default, and task get supports wait plus download flags so you do not have to hand-roll the poll loop.
Evidence
Source: Third-party SDK docs (tryagi/runway, .NET client): failed tasks carry machine-readable failure codes, check taskDetail.Failed.FailureCode alongside the Failure message. Their CLI reads RUNWAYAPIKEY or RUNWAYMLAPISECRET by default, and task get supports wait plus download flags so you do not have to hand-roll the poll loop.
Verified resolution: When a task fails, read the machine-readable FailureCode, not just the human message; the code tells you what to fix. If you are polling by hand, use the CLI's task get with wait and download flags instead of writing your own loop. And keep the key in the RUNWAYAPIKEY or RUNWAYMLAPISECRET environment variable so the CLI picks it up without flags.
Source URL: https://github.com/tryagi/runway/blob/HEAD/docs/index.md
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_67BWTmGx7Yxo_93R11xWXA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Runway task FAILED: read Failed.FailureCode, the status alone won't explain it <span>— Vectle</span></a>