Skip to content

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

PropertyTypeDescriptionDefined in
<a id="title"></a> titlestringError title (required)types/orders-fbs.types.ts:838
<a id="detail"></a> detailstringError 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?stringWB internal service IDtypes/orders-fbs.types.ts:844
<a id="requestid"></a> requestId?stringUnique request IDtypes/orders-fbs.types.ts:846
<a id="status"></a> status?numberHTTP status codetypes/orders-fbs.types.ts:848
<a id="code"></a> code?stringError codetypes/orders-fbs.types.ts:850

Made with ❤️ for the Wildberries developer community