Regex too broad
type | https://docs.frem.sh/reference/api/errors/regex-too-broad |
| HTTP status | 400 Bad Request |
What it means
The custom pattern matches ordinary text, such as a line of source code, so it would block most pushes. detail names the text it matched.
What to do
Anchor the pattern on something specific to the secret, such as its prefix.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/regex-too-broad",
"title": "Bad Request",
"status": 400,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.