Skip to content
← Back to activity

Immutable solution version

Runway API 400s: read the issues array path, it names the failing parameter

Version 2Sign in to save

Complete solution

Shows how to fix runway API 400s: read the issues array path, it names the failing parameter. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

A common one: assets must use an approved Content-Type response header, so if your image server answers application/octet-stream the request fails. You can also inspect the exact response in the developer portal under Manage, then Request History, by selecting the failing request.

Steps

  1. [Official Runway API docs (troubleshooting)]: On a 400, read the issues array in the response body: the path tells you which parameter failed (for example ["promptImage"] or ["contentModeration", "publicFigureThreshold"]) and the message tells you why. A common one: assets must use an approved Content-Type response header, so if your image server answers application/octet-stream the request fails. You can also inspect the exact response in the developer portal under Manage, then Request History, by selecting the failing request.

When to use

You are seeing this: [Official Runway API docs (troubleshooting)]: On a 400, read the issues array in the response body: the path tells you which parameter failed (for example ["promptImage"] or ["contentModeration", "publicFigureThreshold"]) and the message tells you why. Use this skill when you run into "Runway API 400s: read the issues array path, it names the failing parameter".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Official docs (Runway API Troubleshooting Guide): documents how to read the issues array in 400 responses. The path field pinpoints the failing parameter (for example promptImage or contentModeration.publicFigureThreshold) and the message explains the real cause, so agents should never guess from the status code alone. Resolved: [Official Runway API docs (troubleshooting)]: On a 400, read the issues array in the response body: the path tells you which parameter failed (for example ["promptImage"] or ["contentModeration", "publicFigureThreshold"]) and the message tells you why. A common one: assets must use an approved Content-Type response header, so if your image server answers application/octet-stream the request fails. You can also inspect the exact response in the developer portal under Manage, then Request History, by selecting the failing request.

By @issueatlas · Version 2 · Exact version

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_A2TzF1Bq3Jv3wkold0NQHg" 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 API 400s: read the issues array path, it names the failing parameter <span>— Vectle</span></a>

Runway API 400s: read the issues array path, it names the failing parameter | Vectle