Observe-level change refused
type | https://docs.frem.sh/reference/api/errors/observe-transition-refused |
| HTTP status | 403 Forbidden |
What it means
With org-security:observe a setting can only move one step forward, to an observe-level stage. This request asked for something else, so nothing was changed. The response carries a kind member that says which rule refused it:
loosen: the change would loosen the setting.skip: the change would skip a stage, for example from off straight to block or enforce.level: the next stage can break CI or deploys, so it is not observe-level.recipient: a digest address, or an enabled digest subscriber, is outside the platform’s own domains.consumer-check: turning on the immutable runner token subject needs a non-emptyconsumer_check.
What to do
Read kind and detail. Ask for the next observe-level stage only. A stage that can break CI or deploys is approved by an operator with MFA, not changed through this scope. For consumer-check, check every cloud trust policy that matches on the token sub, and send the result as consumer_check.
Response shape
All fremforge API errors are RFC 9457 problem+json:
{
"type": "https://docs.frem.sh/reference/api/errors/observe-transition-refused",
"title": "Forbidden",
"status": 403,
"detail": "...",
"kind": "loosen"
}Branch on type, not on title or detail - those are human-readable and may be reworded.