Invalid area
type | https://docs.frem.sh/reference/api/errors/invalid-area |
| HTTP status | 400 Bad Request |
What it means
The request was malformed, or a field failed validation. Returned by the Active work read endpoints (list_active_work, find_related_work).
Example detail messages returned with this error:
areais a top-level folder or module such asapps/api(at most 200 characters).
What to do
Send area as one folder (docs), one module under a folder (apps/api), or / for files at the repository root. Areas are what list_active_work returns in areas.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/invalid-area",
"title": "Bad Request",
"status": 400,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.