strategy_spec_invalid

CompileSeen in: Strategies

What happened

A Studio version is saved as a Strategy Spec, a JSON document with a published schema. A spec that breaks the schema is refused with 400 and nothing is written. path points at the first part that is wrong.

What to do

Fix the part path names. The Strategy Spec schema lists every field.

Example

json
{
  "error": "forge_api must be a whole number, like 1.",
  "code": "strategy_spec_invalid",
  "path": "forge_api"
}

Ask about this in the forum