Wildberries API TypeScript SDK / APIErrorV2
Interface: APIErrorV2
Defined in: types/orders-fbs.types.ts:836
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 |
|---|---|---|---|
<a id="title"></a> title | string | Error title (required) | types/orders-fbs.types.ts:838 |
<a id="detail"></a> detail | string | Error details (required) | types/orders-fbs.types.ts:840 |
<a id="errors"></a> errors? | unknown[] | Structured per-field errors (location/message/value) | types/orders-fbs.types.ts:842 |
<a id="origin"></a> origin? | string | WB internal service ID | types/orders-fbs.types.ts:844 |
<a id="requestid"></a> requestId? | string | Unique request ID | types/orders-fbs.types.ts:846 |
<a id="status"></a> status? | number | HTTP status code | types/orders-fbs.types.ts:848 |
<a id="code"></a> code? | string | Error code | types/orders-fbs.types.ts:850 |