Invalid allowlist
type | https://docs.frem.sh/reference/api/errors/invalid-allowlist |
| HTTP status | 400 Bad Request |
What it means
The request was malformed, or a field failed validation.
Example detail messages returned with this error:
- allowlisted_license_ids must be an array of SPDX id strings.
- SPDX id too long (max 128): {id.slice(0, 40)}…
- Invalid SPDX id: “{id}”.
What to do
Correct the allowlist 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-allowlist",
"title": "Bad Request",
"status": 400,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.