Skip to main content

An agent credential cannot do more than its person

typehttps://docs.frem.sh/reference/api/errors/bench-exceeds-user-role
HTTP status403 Forbidden

What it means

The request came from an AI agent credential that fremforge issues to its own operators’ workspaces. Such a credential acts for one person, and it may never do more than that person could do themselves. The person is not an owner of this organisation right now, so they could not make this change, and neither may their agent. The role is checked on every request, so it applies at once when a person’s role changes. Nothing was saved.

Example detail messages returned with this error:

  • A bench credential acts for one person and may never do more than that person could do themselves: they are not an owner of this organisation now.

What to do

Have an owner of the organisation make the change, or have one of the organisation’s owners give the person the owner role first. If the role could not be read at all, the API answers ownership-unverifiable (HTTP 503) instead; retry shortly.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/bench-exceeds-user-role",
  "title": "Forbidden",
  "status": 403,
  "detail": "..."
}

Branch on type, not on title or detail - those are human-readable and may be reworded.