Invalid block severity
type | https://docs.frem.sh/reference/api/errors/invalid-block-severity |
| HTTP status | 400 Bad Request |
What it means
The request was malformed, or a field failed validation.
Example detail messages returned with this error:
- block_severity must be info, warning, or error.
- block_severity must be low, medium, high, or critical.
- block_severity must be one of: {LICENSE_SEVERITIES.join(’, ‘)}.
What to do
Correct the block_severity value - detail names what was wrong.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/invalid-block-severity",
"title": "Bad Request",
"status": 400,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.