---
title: "createRepoExtensionInstallation"
---

> Documentation Index
> Fetch the complete documentation index at: https://buildrforge.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# createRepoExtensionInstallation

Path: Forge API › extensions

`POST /repos/{repo_id}/branches/{branch}/extension-installations`

Install a release from the org's registry on main, copying its data catalog under record IDs of the repo's own, and build it linked with the peers that the repo installs, with each installation that depends on it. A build that fails refuses the install. When other changes to the repo's installations, such as updates to a peer, keep moving the builds that it needs, it changes nothing and answers ExtensionInstallationsKeptChanging: send it again once they finish. Prereleases don't install: only the repo that defines the extension runs them.

## Path parameters

- `repo_id` (`createRepoExtensionInstallation.path.repo_id`; string, required)
  - pattern: `^repo_[0-7][0-9a-hjkmnp-tv-z]{25}$`
- `branch` (`createRepoExtensionInstallation.path.branch`; string, required)
  - minLength: `1`

## Request body

_Required._

- `name` (`createRepoExtensionInstallation.name`; string, required)
  - maxLength: `129` · pattern: `^[a-z0-9]+(?:-[a-z0-9]+)*\.[a-z0-9]+(?:-[a-z0-9]+)*$`
- `version` (`createRepoExtensionInstallation.version`; string, required) — A release, MAJOR.MINOR.PATCH. Only releases are in the org registry, and only releases install. A prerelease (MAJOR.MINOR.PATCH-pre.<commit>) runs only in the repo that defines the extension: read it there at the commit commit_<commit>. listRepoCommitExtensionPublications (`extensions list-commit-extension-publications --commit`) names the version each extension published at a commit, and the repo's extension reads at that commit (`extensions list-extensions` or `extensions read-files` with `--commit`) return its content.

## Example request

```json
{
  "name": "string",
  "version": "string"
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url '<base-url>/repos/<repo_id>/branches/<branch>/extension-installations' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "string",
  "version": "string"
}
'
```

### TypeScript

```typescript
const url = '<base-url>/repos/<repo_id>/branches/<branch>/extension-installations';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({name: 'string', version: 'string'})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "<base-url>/repos/<repo_id>/branches/<branch>/extension-installations"

payload = {
    "name": "string",
    "version": "string"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 201

ExtensionInstallation

#### Example

```json
{
  "id": "string",
  "name": "string",
  "version": "string",
  "installed_by_id": "string",
  "dependencies": {
    "property1": "string",
    "property2": "string"
  }
}
```

- `id` (`createRepoExtensionInstallation.response.201.id`; string, required)
  - pattern: `^extension_installation_[0-7][0-9a-hjkmnp-tv-z]{25}$`
- `name` (`createRepoExtensionInstallation.response.201.name`; string, required)
  - maxLength: `129` · pattern: `^[a-z0-9]+(?:-[a-z0-9]+)*\.[a-z0-9]+(?:-[a-z0-9]+)*$`
- `version` (`createRepoExtensionInstallation.response.201.version`; any of, required)
  - any of the following: `string`, `string`
- `installed_by_id` (`createRepoExtensionInstallation.response.201.installed_by_id`; string, required)
  - pattern: `^(?:user|extension)_[0-7][0-9a-hjkmnp-tv-z]{25}$`
- `dependencies` (`createRepoExtensionInstallation.response.201.dependencies`; map of string, required)

### 400

InvalidRequest | RequestBodyTooDeep

#### Example

```json
{
  "_tag": "InvalidRequest",
  "part": "path",
  "issues": [
    {
      "path": [
        "string"
      ],
      "message": "string"
    }
  ]
}
```

Any of the following:

- `InvalidRequestEncoded`
  - `_tag` (`InvalidRequestEncoded._tag`; string, required)
    - one of `"InvalidRequest"`
  - `part` (`InvalidRequestEncoded.part`; string, required)
    - one of `"path"`, `"query"`, `"headers"`, `"body"`
  - `issues` (`InvalidRequestEncoded.issues`; array of object, required)
    - `path` (`InvalidRequestEncoded.issues.path`; array\<any of\>, required)
      - any of the following: `string`, `integer`
    - `message` (`InvalidRequestEncoded.issues.message`; string, required)
- `RequestBodyTooDeepEncoded`
  - `_tag` (`RequestBodyTooDeepEncoded._tag`; string, required)
    - one of `"RequestBodyTooDeep"`
  - `max_depth` (`RequestBodyTooDeepEncoded.max_depth`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`

### 401

InvalidCredentials

#### Example

```json
{
  "_tag": "InvalidCredentials"
}
```

- `_tag` (`createRepoExtensionInstallation.response.401._tag`; string, required)
  - one of `"InvalidCredentials"`

### 403

Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired

#### Example

```json
{
  "_tag": "Forbidden",
  "message": "string"
}
```

Any of the following:

- `ForbiddenEncoded`
  - `_tag` (`ForbiddenEncoded._tag`; string, required)
    - one of `"Forbidden"`
  - `message` (`ForbiddenEncoded.message`; string, required)
- `ForbiddenOriginEncoded`
  - `_tag` (`ForbiddenOriginEncoded._tag`; string, required)
    - one of `"ForbiddenOrigin"`
- `RequiresPersonalSessionEncoded`
  - `_tag` (`RequiresPersonalSessionEncoded._tag`; string, required)
    - one of `"RequiresPersonalSession"`
- `RunBranchRequiredEncoded`
  - `_tag` (`RunBranchRequiredEncoded._tag`; string, required)
    - one of `"RunBranchRequired"`
  - `branch` (`RunBranchRequiredEncoded.branch`; string, required)
    - minLength: `1`
  - `message` (`RunBranchRequiredEncoded.message`; string, required)

### 404

BranchNotFound | ExtensionVersionNotFound | OrgNotFound | RepoNotFound

#### Example

```json
{
  "_tag": "BranchNotFound",
  "branch": "string"
}
```

Any of the following:

- `BranchNotFoundEncoded`
  - `_tag` (`BranchNotFoundEncoded._tag`; string, required)
    - one of `"BranchNotFound"`
  - `branch` (`BranchNotFoundEncoded.branch`; string, required)
    - minLength: `1`
- `ExtensionVersionNotFoundEncoded`
  - `_tag` (`ExtensionVersionNotFoundEncoded._tag`; string, required)
    - one of `"ExtensionVersionNotFound"`
  - `extension_name` (`ExtensionVersionNotFoundEncoded.extension_name`; string, required)
    - minLength: `1`
  - `version` (`ExtensionVersionNotFoundEncoded.version`; string, required)
  - `message` (`ExtensionVersionNotFoundEncoded.message`; string, required)
- `OrgNotFoundEncoded`
  - `_tag` (`OrgNotFoundEncoded._tag`; string, required)
    - one of `"OrgNotFound"`
- `RepoNotFoundEncoded`
  - `_tag` (`RepoNotFoundEncoded._tag`; string, required)
    - one of `"RepoNotFound"`

### 409

ExtensionDependenciesUnmet | ExtensionInstallationRequiresMain | ExtensionNameInUse | ExtensionTagFamilyNameTaken | ExtensionServiceNotInstallable | ExtensionInstallationsKeptChanging | ExtensionSourceArchived | RepoArchived

#### Example

```json
{
  "_tag": "ExtensionDependenciesUnmet",
  "extension_name": "string",
  "installed_version": "string",
  "requirements": [
    {
      "dependent": "string",
      "version": "string",
      "range": "string"
    }
  ],
  "message": "string"
}
```

Any of the following:

- `ExtensionDependenciesUnmetEncoded`
  - `_tag` (`ExtensionDependenciesUnmetEncoded._tag`; string, required)
    - one of `"ExtensionDependenciesUnmet"`
  - `extension_name` (`ExtensionDependenciesUnmetEncoded.extension_name`; string, required)
    - minLength: `1`
  - `installed_version` (`ExtensionDependenciesUnmetEncoded.installed_version`; any of, required)
    - any of the following: `string`, `null`
  - `requirements` (`ExtensionDependenciesUnmetEncoded.requirements`; array of object, required)
    - `dependent` (`ExtensionDependenciesUnmetEncoded.requirements.dependent`; string, required)
      - minLength: `1`
    - `version` (`ExtensionDependenciesUnmetEncoded.requirements.version`; string, required)
      - minLength: `1`
    - `range` (`ExtensionDependenciesUnmetEncoded.requirements.range`; string, required)
      - minLength: `1`
  - `message` (`ExtensionDependenciesUnmetEncoded.message`; string, required)
    - minLength: `1`
- `ExtensionInstallationRequiresMainEncoded`
  - `_tag` (`ExtensionInstallationRequiresMainEncoded._tag`; string, required)
    - one of `"ExtensionInstallationRequiresMain"`
  - `branch` (`ExtensionInstallationRequiresMainEncoded.branch`; string, required)
    - minLength: `1`
  - `message` (`ExtensionInstallationRequiresMainEncoded.message`; string, required)
- `ExtensionNameInUseEncoded`
  - `_tag` (`ExtensionNameInUseEncoded._tag`; string, required)
    - one of `"ExtensionNameInUse"`
  - `extension_name` (`ExtensionNameInUseEncoded.extension_name`; string, required)
    - minLength: `1`
  - `message` (`ExtensionNameInUseEncoded.message`; string, required)
- `ExtensionTagFamilyNameTakenEncoded`
  - `_tag` (`ExtensionTagFamilyNameTakenEncoded._tag`; string, required)
    - one of `"ExtensionTagFamilyNameTaken"`
  - `extension_name` (`ExtensionTagFamilyNameTakenEncoded.extension_name`; string, required)
    - minLength: `1`
  - `tag_family` (`ExtensionTagFamilyNameTakenEncoded.tag_family`; string, required)
    - minLength: `1`
  - `tag_family_id` (`ExtensionTagFamilyNameTakenEncoded.tag_family_id`; string, required)
    - pattern: `^tag_family_[0-7][0-9a-hjkmnp-tv-z]{25}$`
  - `message` (`ExtensionTagFamilyNameTakenEncoded.message`; string, required)
- `ExtensionServiceNotInstallableEncoded`
  - `_tag` (`ExtensionServiceNotInstallableEncoded._tag`; string, required)
    - one of `"ExtensionServiceNotInstallable"`
  - `extension_name` (`ExtensionServiceNotInstallableEncoded.extension_name`; string, required)
    - minLength: `1`
  - `message` (`ExtensionServiceNotInstallableEncoded.message`; string, required)
- `ExtensionInstallationsKeptChangingEncoded`
  - `_tag` (`ExtensionInstallationsKeptChangingEncoded._tag`; string, required)
    - one of `"ExtensionInstallationsKeptChanging"`
  - `extension_name` (`ExtensionInstallationsKeptChangingEncoded.extension_name`; string, required)
    - minLength: `1`
  - `message` (`ExtensionInstallationsKeptChangingEncoded.message`; string, required)
    - minLength: `1`
- `ExtensionSourceArchivedEncoded`
  - `_tag` (`ExtensionSourceArchivedEncoded._tag`; string, required)
    - one of `"ExtensionSourceArchived"`
  - `extension_name` (`ExtensionSourceArchivedEncoded.extension_name`; string, required)
    - minLength: `1`
- `RepoArchivedEncoded`
  - `_tag` (`RepoArchivedEncoded._tag`; string, required)
    - one of `"RepoArchived"`

### 413

WriteTooLarge | RequestBodyTooLarge

#### Example

```json
{
  "_tag": "WriteTooLarge",
  "message": "string"
}
```

Any of the following:

- `WriteTooLargeEncoded`
  - `_tag` (`WriteTooLargeEncoded._tag`; string, required)
    - one of `"WriteTooLarge"`
  - `message` (`WriteTooLargeEncoded.message`; string, required)
- `RequestBodyTooLargeEncoded`
  - `_tag` (`RequestBodyTooLargeEncoded._tag`; string, required)
    - one of `"RequestBodyTooLarge"`
  - `max_bytes` (`RequestBodyTooLargeEncoded.max_bytes`; integer, required)
    - maximum: `9007199254740991` · minimum: `-9007199254740991`

### 422

WriteRefused | ExtensionBuildFailed

#### Example

```json
{
  "_tag": "WriteRefused",
  "violations": [
    {
      "kind": "formula",
      "model": "string",
      "field": "string",
      "reason": "string",
      "record_ids": [
        "string"
      ]
    }
  ]
}
```

Any of the following:

- `WriteRefusedEncoded`
  - `_tag` (`WriteRefusedEncoded._tag`; string, required)
    - one of `"WriteRefused"`
  - `violations` (`WriteRefusedEncoded.violations`; array of Violation, required)
    - every option has:
      - `field` (`<option>.field`; string, required)
        - minLength: `1`
    - any of the following, each adding:
      - `object` (`WriteRefusedEncoded.violations.1`)
        - `kind` (`WriteRefusedEncoded.violations.1.kind`; any of, required)
          - any of the following:
            - `string`: one of `"formula"`
        - `model` (`WriteRefusedEncoded.violations.1.model`; string, required)
          - minLength: `1`
        - `reason` (`WriteRefusedEncoded.violations.1.reason`; string, required)
          - minLength: `1`
        - `record_ids` (`WriteRefusedEncoded.violations.1.record_ids`; array of string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
      - `object` (`WriteRefusedEncoded.violations.2`)
        - `kind` (`WriteRefusedEncoded.violations.2.kind`; any of, required)
          - any of the following:
            - `string`: one of `"custom_field"`
        - `model` (`WriteRefusedEncoded.violations.2.model`; string, required)
          - minLength: `1`
        - `reason` (`WriteRefusedEncoded.violations.2.reason`; string, required)
          - minLength: `1`
        - `record_ids` (`WriteRefusedEncoded.violations.2.record_ids`; array of string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
      - `object` (`WriteRefusedEncoded.violations.3`)
        - `kind` (`WriteRefusedEncoded.violations.3.kind`; any of, required)
          - any of the following:
            - `string`: one of `"uncarried_value"`
        - `model` (`WriteRefusedEncoded.violations.3.model`; string, required)
          - minLength: `1`
        - `record_id` (`WriteRefusedEncoded.violations.3.record_id`; string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
        - `written_by` (`WriteRefusedEncoded.violations.3.written_by`; string, required)
          - one of `"ours"`, `"theirs"`
        - `value` (`WriteRefusedEncoded.violations.3.value`; unknown, required)
        - `reason` (`WriteRefusedEncoded.violations.3.reason`; string, required)
          - minLength: `1`
      - `object` (`WriteRefusedEncoded.violations.4`)
        - `kind` (`WriteRefusedEncoded.violations.4.kind`; any of, required)
          - any of the following:
            - `string`: one of `"record_reference"`
        - `model` (`WriteRefusedEncoded.violations.4.model`; string, required)
          - minLength: `1`
        - `record_id` (`WriteRefusedEncoded.violations.4.record_id`; string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
        - `referenced_model` (`WriteRefusedEncoded.violations.4.referenced_model`; any of, required)
          - any of the following: `string`, `null`
        - `referenced_record_id` (`WriteRefusedEncoded.violations.4.referenced_record_id`; string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
      - `object` (`WriteRefusedEncoded.violations.5`)
        - `kind` (`WriteRefusedEncoded.violations.5.kind`; any of, required)
          - any of the following:
            - `string`: one of `"reference_target"`
        - `model` (`WriteRefusedEncoded.violations.5.model`; string, required)
          - minLength: `1`
        - `target_model` (`WriteRefusedEncoded.violations.5.target_model`; any of, required)
          - any of the following: `string`, `null`
        - `record_ids` (`WriteRefusedEncoded.violations.5.record_ids`; array of string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
      - `object` (`WriteRefusedEncoded.violations.6`)
        - `kind` (`WriteRefusedEncoded.violations.6.kind`; any of, required)
          - any of the following:
            - `string`: one of `"reference_field_target"`
        - `model` (`WriteRefusedEncoded.violations.6.model`; string, required)
          - minLength: `1`
        - `target_model` (`WriteRefusedEncoded.violations.6.target_model`; any of, required)
          - any of the following: `string`, `null`
        - `record_ids` (`WriteRefusedEncoded.violations.6.record_ids`; array of string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
      - `object` (`WriteRefusedEncoded.violations.7`)
        - `kind` (`WriteRefusedEncoded.violations.7.kind`; any of, required)
          - any of the following:
            - `string`: one of `"unique"`
        - `model` (`WriteRefusedEncoded.violations.7.model`; string, required)
          - minLength: `1`
        - `record_ids` (`WriteRefusedEncoded.violations.7.record_ids`; array of string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
      - `object` (`WriteRefusedEncoded.violations.8`)
        - `kind` (`WriteRefusedEncoded.violations.8.kind`; any of, required)
          - any of the following:
            - `string`: one of `"required"`
        - `model` (`WriteRefusedEncoded.violations.8.model`; string, required)
          - minLength: `1`
        - `record_ids` (`WriteRefusedEncoded.violations.8.record_ids`; array of string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
      - `object` (`WriteRefusedEncoded.violations.9`)
        - `kind` (`WriteRefusedEncoded.violations.9.kind`; any of, required)
          - any of the following:
            - `string`: one of `"field_api_name"`
        - `model` (`WriteRefusedEncoded.violations.9.model`; string, required)
          - minLength: `1`
        - `api_name` (`WriteRefusedEncoded.violations.9.api_name`; string, required)
          - minLength: `1`
        - `record_ids` (`WriteRefusedEncoded.violations.9.record_ids`; array of string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
      - `object` (`WriteRefusedEncoded.violations.10`)
        - `kind` (`WriteRefusedEncoded.violations.10.kind`; any of, required)
          - any of the following:
            - `string`: one of `"model_api_name"`
        - `model` (`WriteRefusedEncoded.violations.10.model`; string, required)
          - minLength: `1`
        - `api_name` (`WriteRefusedEncoded.violations.10.api_name`; string, required)
          - minLength: `1`
        - `record_ids` (`WriteRefusedEncoded.violations.10.record_ids`; array of string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
      - `object` (`WriteRefusedEncoded.violations.11`)
        - `kind` (`WriteRefusedEncoded.violations.11.kind`; any of, required)
          - any of the following:
            - `string`: one of `"extension_name"`
        - `model` (`WriteRefusedEncoded.violations.11.model`; string, required)
          - minLength: `1`
        - `name` (`WriteRefusedEncoded.violations.11.name`; string, required)
          - minLength: `1`
        - `record_ids` (`WriteRefusedEncoded.violations.11.record_ids`; array of string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
      - `object` (`WriteRefusedEncoded.violations.12`)
        - `kind` (`WriteRefusedEncoded.violations.12.kind`; any of, required)
          - any of the following:
            - `string`: one of `"extension_peer"`
        - `model` (`WriteRefusedEncoded.violations.12.model`; string, required)
          - minLength: `1`
        - `name` (`WriteRefusedEncoded.violations.12.name`; string, required)
          - minLength: `1`
        - `version` (`WriteRefusedEncoded.violations.12.version`; string, required)
          - minLength: `1`
        - `peer` (`WriteRefusedEncoded.violations.12.peer`; string, required)
          - minLength: `1`
        - `range` (`WriteRefusedEncoded.violations.12.range`; string, required)
          - minLength: `1`
        - `peer_version` (`WriteRefusedEncoded.violations.12.peer_version`; any of, required)
          - any of the following: `string`, `null`
        - `record_ids` (`WriteRefusedEncoded.violations.12.record_ids`; array of string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
      - `object` (`WriteRefusedEncoded.violations.13`)
        - `kind` (`WriteRefusedEncoded.violations.13.kind`; any of, required)
          - any of the following:
            - `string`: one of `"attachment"`
        - `model` (`WriteRefusedEncoded.violations.13.model`; string, required)
          - minLength: `1`
        - `record_id` (`WriteRefusedEncoded.violations.13.record_id`; string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
        - `attachment_blob_id` (`WriteRefusedEncoded.violations.13.attachment_blob_id`; string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
      - `object` (`WriteRefusedEncoded.violations.14`)
        - `kind` (`WriteRefusedEncoded.violations.14.kind`; any of, required)
          - any of the following:
            - `string`: one of `"agent_skill"`
        - `model` (`WriteRefusedEncoded.violations.14.model`; string, required)
          - minLength: `1`
        - `reason` (`WriteRefusedEncoded.violations.14.reason`; string, required)
          - minLength: `1`
        - `record_ids` (`WriteRefusedEncoded.violations.14.record_ids`; array of string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
      - `object` (`WriteRefusedEncoded.violations.15`)
        - `kind` (`WriteRefusedEncoded.violations.15.kind`; any of, required)
          - any of the following:
            - `string`: one of `"tag_state"`
        - `reason` (`WriteRefusedEncoded.violations.15.reason`; string, required)
          - minLength: `1`
        - `record_ids` (`WriteRefusedEncoded.violations.15.record_ids`; array of string, required)
          - pattern: `^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$`
- `ExtensionBuildFailedEncoded`
  - `_tag` (`ExtensionBuildFailedEncoded._tag`; string, required)
    - one of `"ExtensionBuildFailed"`
  - `extension_name` (`ExtensionBuildFailedEncoded.extension_name`; string, required)
    - minLength: `1`
  - `message` (`ExtensionBuildFailedEncoded.message`; string, required)
    - minLength: `1`
  - `reason` (`ExtensionBuildFailedEncoded.reason`; any of, required)
    - any of the following:
      - `object`
        - `_tag` (`ExtensionBuildFailedEncoded.reason.1._tag`; string, required)
          - one of `"SourceRefused"`
        - `location` (`ExtensionBuildFailedEncoded.reason.1.location`; object, optional)
          - `path` (`ExtensionBuildFailedEncoded.reason.1.location.path`; string, required)
            - minLength: `1`
          - `line` (`ExtensionBuildFailedEncoded.reason.1.location.line`; integer, optional)
            - maximum: `9007199254740991` · minimum: `-9007199254740991`
          - `column` (`ExtensionBuildFailedEncoded.reason.1.location.column`; integer, optional)
            - maximum: `9007199254740991` · minimum: `-9007199254740991`
      - `object`
        - `_tag` (`ExtensionBuildFailedEncoded.reason.2._tag`; string, required)
          - one of `"DependencyFailed"`
        - `dependency` (`ExtensionBuildFailedEncoded.reason.2.dependency`; string, required)
          - minLength: `1`
      - `object`
        - `_tag` (`ExtensionBuildFailedEncoded.reason.3._tag`; string, required)
          - one of `"CompileFailed"`
        - `location` (`ExtensionBuildFailedEncoded.reason.3.location`; object, optional)
          - `path` (`ExtensionBuildFailedEncoded.reason.3.location.path`; string, required)
            - minLength: `1`
          - `line` (`ExtensionBuildFailedEncoded.reason.3.location.line`; integer, optional)
            - maximum: `9007199254740991` · minimum: `-9007199254740991`
          - `column` (`ExtensionBuildFailedEncoded.reason.3.location.column`; integer, optional)
            - maximum: `9007199254740991` · minimum: `-9007199254740991`
      - `object`
        - `_tag` (`ExtensionBuildFailedEncoded.reason.4._tag`; string, required)
          - one of `"DeclarationFailed"`
        - `location` (`ExtensionBuildFailedEncoded.reason.4.location`; object, optional)
          - `path` (`ExtensionBuildFailedEncoded.reason.4.location.path`; string, required)
            - minLength: `1`
          - `line` (`ExtensionBuildFailedEncoded.reason.4.location.line`; integer, optional)
            - maximum: `9007199254740991` · minimum: `-9007199254740991`
          - `column` (`ExtensionBuildFailedEncoded.reason.4.location.column`; integer, optional)
            - maximum: `9007199254740991` · minimum: `-9007199254740991`

### 429

RateLimited

#### Example

```json
{
  "_tag": "RateLimited"
}
```

- `_tag` (`createRepoExtensionInstallation.response.429._tag`; string, required)
  - one of `"RateLimited"`

### 500

OrgFailure | RepoFailure

#### Example

```json
{
  "_tag": "OrgFailure",
  "reason": "string"
}
```

Every option has:

- `reason` (`<option>.reason`; string, required)

Any of the following, each adding:

- `OrgFailureEncoded`
  - `_tag` (`OrgFailureEncoded._tag`; string, required)
    - one of `"OrgFailure"`
- `RepoFailureEncoded`
  - `_tag` (`RepoFailureEncoded._tag`; string, required)
    - one of `"RepoFailure"`

### 503

RepoBusy | SessionUnavailable | RateLimitUnavailable

#### Example

```json
{
  "_tag": "RepoBusy",
  "message": "string"
}
```

Any of the following:

- `RepoBusyEncoded`
  - `_tag` (`RepoBusyEncoded._tag`; string, required)
    - one of `"RepoBusy"`
  - `message` (`RepoBusyEncoded.message`; string, required)
- `SessionUnavailableEncoded`
  - `_tag` (`SessionUnavailableEncoded._tag`; string, required)
    - one of `"SessionUnavailable"`
- `RateLimitUnavailableEncoded`
  - `_tag` (`RateLimitUnavailableEncoded._tag`; string, required)
    - one of `"RateLimitUnavailable"`


Source: https://buildrforge.com/docs/api/create-repo-extension-installation/index.md
