# Get a download link for an import's error artifact

> GET /imports/{import_id}/error-file

Source: https://docs.trykintsugi.com/reference/2026-07-21/get-a-download-link-for-an-import-s-error-artifact

GET /imports/{import_id}/error-file

Get a download link for an import's error artifact

Return download instructions for the validation or import error artifact. Pass `phase=import` for row-processing errors; validation errors are the default.

Category: Imports

Path parameters:
import_id (string, required) - The unique identifier of the import.

Query parameters:
phase (string) - 'validation' (default) or 'import'.

Response fields:
downloadUrl (string, required) - Presigned URL to download the error artifact. Empty when the bytes are returned inline instead.
expiresInSeconds (integer, required) - How long downloadUrl stays valid, in seconds. 0 when downloadUrl is empty.
inlineContentBase64 (string) - Base64-encoded error artifact bytes, present only when downloadUrl is empty.

Response statuses: 200, 400, 401, 403, 404, 422

---

Index of every page: https://docs.trykintsugi.com/llms.txt
