Factuarea APIDevelopers

Download warehouse stock import errors

Download the UTF-8 CSV error report of an import of initial stock per warehouse with the original row number, field, code and message.

  • Requires warehouses:read.
  • An unknown import, one of another company or entity, or an unavailable report returns 404 import_not_found.
  • The MCP download_warehouse_stock_import_errors tool returns the same bytes as file_base64.
GET
/companies/{company}/warehouse-stock/imports/{id}/errors.csv

Authorization

AuthorizationBearer <token>

Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.

In: header

Path Parameters

company*string

Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).

Formatuuid
id*string

Public identifier (UUID v7) of the warehouse stock import.

Formatuuid

Headers

Factuarea-Version?string

Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.

Formatdate

Response Body

text/csv

application/json

application/json

application/json

application/json

application/json

application/json