Wildberries API TypeScript SDK / APIErrorV2
Interface: APIErrorV2
Defined in: types/orders-fbs.types.ts:910
WB v3 APIErrorV2 envelope -- the newer V2 error shape returned by some v3 endpoints (e.g. 400/403 responses). Maps to swagger schema: v3.APIErrorV2.
Unlike the legacy APIError ({code,message,data}), this envelope surfaces structured per-field errors via errors[] and a human-readable title/detail.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
title | string | Error title (required) | types/orders-fbs.types.ts:912 |
detail | string | Error details (required) | types/orders-fbs.types.ts:914 |
errors? | unknown[] | Structured per-field errors (location/message/value) | types/orders-fbs.types.ts:916 |
origin? | string | WB internal service ID | types/orders-fbs.types.ts:918 |
requestId? | string | Unique request ID | types/orders-fbs.types.ts:920 |
status? | number | HTTP status code | types/orders-fbs.types.ts:922 |
code? | string | Error code | types/orders-fbs.types.ts:924 |