---
title: "Download the import error report"
method: GET
path: "/settings/data-transfer/imports/{id}/download-error-report"
tags: ["Admin Settings: Data Transfer"]
---

# Download the import error report

`GET /settings/data-transfer/imports/{id}/download-error-report`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/settings/data-transfer/imports/{id}/download-error-report`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/settings/data-transfer/imports/:id/download-error-report/get.ts> (a function with typed inputs; its response is checked against the schema)

Streams the generated error report as an attachment. Send `Accept: application/octet-stream`. 404 when no error report exists.

## Path parameters

- `id` integer, required

## Response `200`

The error report is downloaded.

## Other responses

- `404`: Import or error report not found.

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
