Unknown key
type | https://docs.frem.sh/reference/api/errors/unknown-key |
| HTTP status | 400 Bad Request |
What it means
A SAST rule uses a key outside the allowlist. Only pattern, metavariable, taint, paths, fix, options and metadata keys are allowed, so a rule cannot reach outside itself (for example with join or extract).
Example detail messages returned with this error:
- rule key not allowed: join.
What to do
Remove the key detail names.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/unknown-key",
"title": "Bad Request",
"status": 400,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.