Invalid examples
type | https://docs.frem.sh/reference/api/errors/invalid-examples |
| HTTP status | 400 Bad Request |
What it means
A custom secret pattern draft (Draft with AI) needs 1 to 5 example strings, one line each and at most 200 characters.
What to do
Give 1 to 5 made-up examples in the secret’s format, never a live secret. See Draft a pattern with AI.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/invalid-examples",
"title": "Bad Request",
"status": 400,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.