Advisory warning emitted when an optional workflow step fails non-fatally. The overall request still succeeds (HTTP 200); inspect this to detect partial or degraded data.
import { Warnings } from "@apideck/unify/models/components";
let value: Warnings = {
type: "downstream_request_failed",
statusCode: 429,
operation: "getManager",
};| Field | Type | Required | Description | Example |
|---|---|---|---|---|
type |
string | ➖ | Discriminator for the warning kind. | downstream_request_failed |
statusCode |
number | ➖ | HTTP status code returned by the failed downstream request, when available. | 429 |
error |
string | ➖ | Short error description from the downstream provider, when available. | |
operation |
string | ➖ | Identifier of the workflow step that failed. | getManager |
message |
string | ➖ | Detailed message from the downstream provider, when available. |