Removed setting
type | https://docs.frem.sh/reference/api/errors/removed-setting |
| HTTP status | 400 Bad Request |
What it means
The request tried to set an org setting that fremforge removed because it was stored but never applied. Nothing was written.
Example detail messages returned with this error:
- default_template_repo was removed: it was stored but never applied to new repositories. Choose a template in Forgejo’s New Repository form, or create the repository with POST /api/v1/repos/{template_owner}/{template_repo}/generate. Sending "" or null is accepted and does nothing.
What to do
Remove the field from the request, or send "" or null. To start repositories from a template, mark the source repository as a template in its settings, then pick it in Forgejo’s New Repository form, or call POST /api/v1/repos/{template_owner}/{template_repo}/generate.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/removed-setting",
"title": "Bad Request",
"status": 400,
"detail": "..."
}Branch on type, not on title or detail - those are human-readable and may be reworded.