Skip to main content

Forgejo error

typehttps://docs.frem.sh/reference/api/errors/forgejo-error
HTTP status502 Bad Gateway

What it means

An upstream dependency returned an error.

Example detail messages returned with this error:

  • Forgejo refused list: {(err as Error).message}
  • Forgejo refused save: {(err as Error).message}
  • Forgejo refused delete: {(err as Error).message}

What to do

The Git backend returned an error. Retry with backoff; if it repeats, email support@frem.sh with the response body.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/forgejo-error",
  "title": "Bad Gateway",
  "status": 502,
  "detail": "..."
}

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