Invalid rule id
type | https://docs.frem.sh/reference/api/errors/invalid-id |
| HTTP status | 400 Bad Request |
What it means
A SAST rule’s id is missing or malformed.
Example detail messages returned with this error:
- id: 2 to 63 characters, lower-case letters, digits and hyphens, starting with a letter or digit.
What to do
Use an id of lower-case letters, digits and hyphens. Findings carry it as custom/<id>.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/invalid-id",
"title": "Bad Request",
"status": 400,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.