---
title: "Download a Precursoras error report"
---

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

# Download a Precursoras error report

Path: Nueva EPS API › Ingestion error reports

`GET /v1/nueva-eps/ingestion-error-reports/{ingestionErrorReportId}`

Get a private XLSX validation report with a download link valid for 15 minutes. The report id is its upload id. May contain patient information. Files expire from storage after 24 hours. Provider failures are returned explicitly.

- **Scope:** `nueva-eps:precursoras:read`
- **Credentials:** an API key, a client-credentials token or a person's access token
- **Effect:** read-only; safe to retry
- **Limits:** response up to 256 KB
- **CLI:** `arbol nuevaeps ingestion-error-reports get` · **MCP tool:** `nueva_eps_ingestion_error_reports_get`

## Authentication

Requires one of the following:

- `arbolHuman`, oauth2, scopes: `nueva-eps:precursoras:read`
- `arbolMachine`, oauth2, scopes: `nueva-eps:precursoras:read`
- `arbolApiKey`, http, header `Authorization`

## Path parameters

- `ingestionErrorReportId` (`nueva-eps.ingestionErrorReports.get.path.ingestionErrorReportId`; string, required) — The ingestion error report id.
  - format `uuid`; pattern `^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$`

## Query parameters

- `connectionId` (`nueva-eps.ingestionErrorReports.get.query.connectionId`; string, optional) — The connection id.
  - pattern `^con_[0-9A-Za-z]{26}$`

## Code samples

### cURL

```bash
curl https://api.getarbol.com/v1/nueva-eps/ingestion-error-reports/123e4567-e89b-42d3-a456-426614174000 \
  --header "Authorization: Bearer $ARBOL_API_KEY"
```

### TypeScript

```typescript
import { createClient } from "@arbol-ai/sdk";

const arbol = createClient({
  baseUrl: "https://api.getarbol.com",
  token: process.env.ARBOL_API_KEY!,
});

const { data } = await arbol.nuevaEps.ingestionErrorReports.get({
  ingestionErrorReportId: "123e4567-e89b-42d3-a456-426614174000",
});
```

### Rust

```rust
use arbol_sdk::{types, Client, Credential};

let arbol = Client::new(Credential::ApiKey(std::env::var("ARBOL_API_KEY")?))?;

let data = arbol
    .nueva_eps()
    .ingestion_error_reports()
    .get(&types::NuevaEpsIngestionErrorReportsGetInput {
        ingestion_error_report_id: "123e4567-e89b-42d3-a456-426614174000".into(),
        connection_id: None,
    })
    .await?;
```

### CLI

```bash
arbol nuevaeps ingestion-error-reports get 123e4567-e89b-42d3-a456-426614174000
```

### MCP

```json
{
  "name": "nueva_eps_ingestion_error_reports_get",
  "arguments": {
    "ingestionErrorReportId": "123e4567-e89b-42d3-a456-426614174000"
  }
}
```

## Responses

### 200

Successful operation.

#### Example

```json
{
  "success": true,
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "contentType": "string",
    "byteLength": 1,
    "download": {
      "url": "http://example.com",
      "expiresAt": "2019-08-24T14:15:22Z"
    }
  },
  "error": null,
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`nueva-eps.ingestionErrorReports.get.response.200.success`; boolean, required)
  - one of `true`
- `data` (`nueva-eps.ingestionErrorReports.get.response.200.data`; object, required)
  - `id` (`nueva-eps.ingestionErrorReports.get.response.200.data.id`; string, required)
    - format `uuid`; pattern `^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$`
  - `contentType` (`nueva-eps.ingestionErrorReports.get.response.200.data.contentType`; string, required)
  - `byteLength` (`nueva-eps.ingestionErrorReports.get.response.200.data.byteLength`; integer, required)
    - min 1; max 16777216
  - `download` (`nueva-eps.ingestionErrorReports.get.response.200.data.download`; object, required)
    - `url` (`nueva-eps.ingestionErrorReports.get.response.200.data.download.url`; string, required) — The signed URL. Anyone holding it has access until it expires.
      - format `uri`; maxLength 2048; pattern `^https://`
    - `expiresAt` (`nueva-eps.ingestionErrorReports.get.response.200.data.download.expiresAt`; string, required) — When the URL stops working.
      - format `date-time`
- `error` (`nueva-eps.ingestionErrorReports.get.response.200.error`; unknown, required)
- `metadata` (`nueva-eps.ingestionErrorReports.get.response.200.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`nueva-eps.ingestionErrorReports.get.response.200.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 400

`INVALID_INPUT`: The request does not match the published schema.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "INVALID_INPUT",
    "message": "string",
    "retryable": false,
    "data": {
      "issues": [
        {
          "path": "string",
          "message": "string"
        }
      ]
    }
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`nueva-eps.ingestionErrorReports.get.response.400.success`; boolean, required)
  - one of `false`
- `data` (`nueva-eps.ingestionErrorReports.get.response.400.data`; unknown, required)
- `error` (`nueva-eps.ingestionErrorReports.get.response.400.error`; object, required) — The request does not match the published schema.
  - `code` (`nueva-eps.ingestionErrorReports.get.response.400.error.code`; string, required) — The failure code, stable across releases.
    - one of `"INVALID_INPUT"`
  - `message` (`nueva-eps.ingestionErrorReports.get.response.400.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`nueva-eps.ingestionErrorReports.get.response.400.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `false`
  - `data` (`nueva-eps.ingestionErrorReports.get.response.400.error.data`; object, required)
    - `issues` (`nueva-eps.ingestionErrorReports.get.response.400.error.data.issues`; array<object>, optional)
      - `path` (`nueva-eps.ingestionErrorReports.get.response.400.error.data.issues.path`; string, required) — RFC 6901 JSON Pointer to the refused field; empty for the whole input.
        - maxLength 256
      - `message` (`nueva-eps.ingestionErrorReports.get.response.400.error.data.issues.message`; string, required)
        - maxLength 256
- `metadata` (`nueva-eps.ingestionErrorReports.get.response.400.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`nueva-eps.ingestionErrorReports.get.response.400.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 401

`UNAUTHORIZED`: A valid access token is required.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`nueva-eps.ingestionErrorReports.get.response.401.success`; boolean, required)
  - one of `false`
- `data` (`nueva-eps.ingestionErrorReports.get.response.401.data`; unknown, required)
- `error` (`nueva-eps.ingestionErrorReports.get.response.401.error`; object, required) — A valid access token is required.
  - `code` (`nueva-eps.ingestionErrorReports.get.response.401.error.code`; string, required) — The failure code, stable across releases.
    - one of `"UNAUTHORIZED"`
  - `message` (`nueva-eps.ingestionErrorReports.get.response.401.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`nueva-eps.ingestionErrorReports.get.response.401.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `false`
  - `data` (`nueva-eps.ingestionErrorReports.get.response.401.error.data`; object, required) — No fields.
- `metadata` (`nueva-eps.ingestionErrorReports.get.response.401.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`nueva-eps.ingestionErrorReports.get.response.401.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 403

- `FORBIDDEN`: The token does not authorize this operation.
- `LOGIN_REJECTED`: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "FORBIDDEN",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`nueva-eps.ingestionErrorReports.get.response.403.success`; boolean, required)
  - one of `false`
- `data` (`nueva-eps.ingestionErrorReports.get.response.403.data`; unknown, required)
- `error` (`nueva-eps.ingestionErrorReports.get.response.403.error`; NuevaEpsGetIngestionErrorReportForbiddenFailure, required)
  - one of: `ForbiddenFailure`, `NuevaEpsLoginRejectedFailure`
  - discriminator: `code`
- `metadata` (`nueva-eps.ingestionErrorReports.get.response.403.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`nueva-eps.ingestionErrorReports.get.response.403.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 404

`CONNECTION_NOT_FOUND`: The organization has no such connection.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "CONNECTION_NOT_FOUND",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`nueva-eps.ingestionErrorReports.get.response.404.success`; boolean, required)
  - one of `false`
- `data` (`nueva-eps.ingestionErrorReports.get.response.404.data`; unknown, required)
- `error` (`nueva-eps.ingestionErrorReports.get.response.404.error`; object, required) — The organization has no such connection.
  - `code` (`nueva-eps.ingestionErrorReports.get.response.404.error.code`; string, required) — The failure code, stable across releases.
    - one of `"CONNECTION_NOT_FOUND"`
  - `message` (`nueva-eps.ingestionErrorReports.get.response.404.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`nueva-eps.ingestionErrorReports.get.response.404.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `false`
  - `data` (`nueva-eps.ingestionErrorReports.get.response.404.error.data`; object, required) — No fields.
- `metadata` (`nueva-eps.ingestionErrorReports.get.response.404.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`nueva-eps.ingestionErrorReports.get.response.404.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 409

- `PORTAL_NOT_CONFIGURED`: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.
- `PORTAL_MISMATCH`: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.
- `PASSWORD_CHANGE_REQUIRED`: Change the password in the provider portal before connecting this account.
- `NOT_CONFIGURED`: This organization has no verified Nueva EPS connection.
- `SESSION_REQUIRED`: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.
- `SESSION_BUSY`: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "PORTAL_NOT_CONFIGURED",
    "message": "string",
    "retryable": false
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`nueva-eps.ingestionErrorReports.get.response.409.success`; boolean, required)
  - one of `false`
- `data` (`nueva-eps.ingestionErrorReports.get.response.409.data`; unknown, required)
- `error` (`nueva-eps.ingestionErrorReports.get.response.409.error`; NuevaEpsGetIngestionErrorReportConflictFailure, required)
  - one of: `NuevaEpsPortalNotConfiguredFailure`, `NuevaEpsPortalMismatchFailure`, `NuevaEpsPasswordChangeRequiredFailure`, `NuevaEpsNotConfiguredFailure`, `NuevaEpsSessionRequiredFailure`, `NuevaEpsSessionBusyFailure`
  - discriminator: `code`
- `metadata` (`nueva-eps.ingestionErrorReports.get.response.409.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`nueva-eps.ingestionErrorReports.get.response.409.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 429

- `RATE_LIMITED`: The request rate limit was exceeded. Try again later.
- `LOGIN_COOLDOWN`: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "RATE_LIMITED",
    "message": "string",
    "retryable": true,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`nueva-eps.ingestionErrorReports.get.response.429.success`; boolean, required)
  - one of `false`
- `data` (`nueva-eps.ingestionErrorReports.get.response.429.data`; unknown, required)
- `error` (`nueva-eps.ingestionErrorReports.get.response.429.error`; NuevaEpsGetIngestionErrorReportTooManyRequestsFailure, required)
  - one of: `RateLimitedFailure`, `NuevaEpsLoginCooldownFailure`
  - discriminator: `code`
- `metadata` (`nueva-eps.ingestionErrorReports.get.response.429.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`nueva-eps.ingestionErrorReports.get.response.429.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 500

`INTERNAL_ERROR`: The service could not complete the operation.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "INTERNAL_ERROR",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`nueva-eps.ingestionErrorReports.get.response.500.success`; boolean, required)
  - one of `false`
- `data` (`nueva-eps.ingestionErrorReports.get.response.500.data`; unknown, required)
- `error` (`nueva-eps.ingestionErrorReports.get.response.500.error`; object, required) — The service could not complete the operation.
  - `code` (`nueva-eps.ingestionErrorReports.get.response.500.error.code`; string, required) — The failure code, stable across releases.
    - one of `"INTERNAL_ERROR"`
  - `message` (`nueva-eps.ingestionErrorReports.get.response.500.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`nueva-eps.ingestionErrorReports.get.response.500.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `false`
  - `data` (`nueva-eps.ingestionErrorReports.get.response.500.error.data`; object, required) — No fields.
- `metadata` (`nueva-eps.ingestionErrorReports.get.response.500.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`nueva-eps.ingestionErrorReports.get.response.500.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 501

`AUTHORIZATIONS_UNAVAILABLE`: The provider authorization lookup has not been verified. No empty result is implied.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "AUTHORIZATIONS_UNAVAILABLE",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`nueva-eps.ingestionErrorReports.get.response.501.success`; boolean, required)
  - one of `false`
- `data` (`nueva-eps.ingestionErrorReports.get.response.501.data`; unknown, required)
- `error` (`nueva-eps.ingestionErrorReports.get.response.501.error`; object, required) — The provider authorization lookup has not been verified. No empty result is implied.
  - `code` (`nueva-eps.ingestionErrorReports.get.response.501.error.code`; string, required) — The failure code, stable across releases.
    - one of `"AUTHORIZATIONS_UNAVAILABLE"`
  - `message` (`nueva-eps.ingestionErrorReports.get.response.501.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`nueva-eps.ingestionErrorReports.get.response.501.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `false`
  - `data` (`nueva-eps.ingestionErrorReports.get.response.501.error.data`; object, required) — No fields.
- `metadata` (`nueva-eps.ingestionErrorReports.get.response.501.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`nueva-eps.ingestionErrorReports.get.response.501.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 502

- `OUTCOME_UNKNOWN`: The operation may have been applied; check its result before repeating it.
- `PORTAL_CHANGED`: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "OUTCOME_UNKNOWN",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`nueva-eps.ingestionErrorReports.get.response.502.success`; boolean, required)
  - one of `false`
- `data` (`nueva-eps.ingestionErrorReports.get.response.502.data`; unknown, required)
- `error` (`nueva-eps.ingestionErrorReports.get.response.502.error`; NuevaEpsGetIngestionErrorReportBadGatewayFailure, required)
  - one of: `OutcomeUnknownFailure`, `NuevaEpsPortalChangedFailure`
  - discriminator: `code`
- `metadata` (`nueva-eps.ingestionErrorReports.get.response.502.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`nueva-eps.ingestionErrorReports.get.response.502.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 503

- `UPSTREAM_UNAVAILABLE`: The upstream service could not complete the request.
- `PORTAL_UNAVAILABLE`: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.
- `REGION_BLOCKED`: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "UPSTREAM_UNAVAILABLE",
    "message": "string",
    "retryable": true,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`nueva-eps.ingestionErrorReports.get.response.503.success`; boolean, required)
  - one of `false`
- `data` (`nueva-eps.ingestionErrorReports.get.response.503.data`; unknown, required)
- `error` (`nueva-eps.ingestionErrorReports.get.response.503.error`; NuevaEpsGetIngestionErrorReportServiceUnavailableFailure, required)
  - one of: `UpstreamUnavailableFailure`, `NuevaEpsPortalUnavailableFailure`, `NuevaEpsRegionBlockedFailure`
  - discriminator: `code`
- `metadata` (`nueva-eps.ingestionErrorReports.get.response.503.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`nueva-eps.ingestionErrorReports.get.response.503.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 504

`UPSTREAM_TIMEOUT`: The upstream service did not respond before its deadline.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "UPSTREAM_TIMEOUT",
    "message": "string",
    "retryable": true,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`nueva-eps.ingestionErrorReports.get.response.504.success`; boolean, required)
  - one of `false`
- `data` (`nueva-eps.ingestionErrorReports.get.response.504.data`; unknown, required)
- `error` (`nueva-eps.ingestionErrorReports.get.response.504.error`; object, required) — The upstream service did not respond before its deadline.
  - `code` (`nueva-eps.ingestionErrorReports.get.response.504.error.code`; string, required) — The failure code, stable across releases.
    - one of `"UPSTREAM_TIMEOUT"`
  - `message` (`nueva-eps.ingestionErrorReports.get.response.504.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`nueva-eps.ingestionErrorReports.get.response.504.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `true`
  - `data` (`nueva-eps.ingestionErrorReports.get.response.504.error.data`; object, required) — No fields.
- `metadata` (`nueva-eps.ingestionErrorReports.get.response.504.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`nueva-eps.ingestionErrorReports.get.response.504.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.


Source: https://docs.getarbol.com/api/nueva-eps/ingestion-error-reports/get/index.md
