Skip to main content

Invalid repository

typehttps://docs.frem.sh/reference/api/errors/invalid-repository
HTTP status400 Bad Request

What it means

The repository or repository_id of a custom secret pattern does not name a repository of this organisation, or both were given. detail says which, for example This organisation has no repository named infra. The same type is used when the repositories cannot be checked at that moment (repositories cannot be checked right now; try again later).

What to do

Give the name or the ID of a repository that exists in the organisation, not both, or leave both out for every repository. If detail says the repositories cannot be checked, try again shortly.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/invalid-repository",
  "title": "Bad Request",
  "status": 400,
  "detail": "..."
}

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