Invalid audiences
type | https://docs.frem.sh/reference/api/errors/invalid-audiences |
| HTTP status | 400 Bad Request |
What it means
The request was malformed, or a field failed validation.
Example detail messages returned with this error:
- allowed_audiences must be an array of strings.
- allowed_audiences: at most 16 entries.
- allowed_audiences entry exceeds 256 chars: {line.slice(0, 40)}…
What to do
Correct the audiences 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-audiences",
"title": "Bad Request",
"status": 400,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.