Invalid YAML
type | https://docs.frem.sh/reference/api/errors/invalid-yaml |
| HTTP status | 400 Bad Request |
What it means
A SAST rule’s source is not YAML that parses. Duplicate keys, anchors and aliases are refused.
Example detail messages returned with this error:
- the YAML does not parse: …
What to do
Fix the YAML. detail gives the parser’s first message.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/invalid-yaml",
"title": "Bad Request",
"status": 400,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.