# strategy_spec_invalid

The Strategy Spec does not follow its schema.

## 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](https://oathra.dev//reference/schemas/strategy-spec) lists every field.

## Example

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