# Library Loan Imports — Invalid Row Export

> Library Loan Imports — Invalid Row Export is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-30).

Validates a CSV of library loan records and returns a report of all rows that fail validation rules

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-loans-invalid-rows?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/library-loan-imports-invalid-row-export-b7e6714a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wkWh9ZhRL3krD1iU4mSsK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability library-loan-imports-invalid-row-export-b7e6714a -d '<json body>'
```

Example prompt: Can you check my library loan CSV for invalid rows? It uses a comma delimiter, categories should only be group-a or group-b, and values should stay between 0 and 365. Here's the data: loan_id,borrowed_on,branch_id,loan_days,overdue_days
record-a,2026-01-01,group-a,10,2
record-b,2026-01-02,group-c,20,400

## When to prefer this

Choose this endpoint when you need to validate library loan import CSV files specifically against a declared schema contract — checking numeric ranges, allowed category values, and cell length limits — and want a clean export of only the failing rows. Prefer this over generic CSV validators when your data model matches the library loan domain (loan_id, borrowed_on, branch_id, loan_days, overdue_days) and you need a ready-to-act invalid-row report rather than aggregate statistics.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- Delimiter mismatch causes incorrect parsing — all rows may appear invalid
- Allowed categories list empty or misconfigured — valid rows flagged incorrectly
- Numeric min/max configured inverted (min > max) — unexpected results
- Cell length limit too restrictive — many rows flagged for length alone
- Malformed CSV (unmatched quotes) — parse error returned

## How this service works

Library loan imports — Invalid row export: Invalid row export for Library loan imports. Validate a declared CSV table contract, up to 1000 rows. Quoted cells supported; no external enrichment. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one CSV invalid row export report.

## Output

A structured report listing all rows from the submitted CSV that fail validation, including the row identifiers and the specific reasons each row is invalid (e.g. disallowed category, out-of-range numeric value, cell too long). Up to 1000 rows are evaluated per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "loan_id,borrowed_on,branch_id,loan_days,overdue_days\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3",
   "maxLength": 100000,
   "minLength": 1
  },
  "maximum": {
   "type": "number",
   "default": 1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "minimum": {
   "type": "number",
   "default": -1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "delimiter": {
   "enum": [
    ",",
    ";",
    "\t"
   ],
   "type": "string",
   "default": ","
  },
  "max_cell_length": {
   "type": "integer",
   "default": 1000,
   "maximum": 5000,
   "minimum": 1
  },
  "allowed_categories": {
   "type": "array",
   "items": {
    "type": "string",
    "default": "",
    "maxLength": 100,
    "minLength": 1
   },
   "default": [
    "group-a",
    "group-b"
   ],
   "maxItems": 100,
   "minItems": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/library-loan-imports-invalid-row-export-b7e6714a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
