Base Response for DaVinci API

interface DavinciErrorResponse {
    capabilityName?: string;
    cause?: null | string;
    code: string | number;
    companyId?: string;
    connectionId?: string;
    connectorId?: string;
    details?: ErrorDetail[];
    doNotSendToOE?: boolean;
    error?: { code?: string; message?: string };
    errorCategory?: string;
    errorMessage?: string;
    expected?: boolean;
    httpResponseCode: number;
    id?: string;
    interactionId?: string;
    interactionToken?: string;
    isErrorCustomized?: boolean;
    isResponseCompatibleWithMobileAndWebSdks?: boolean;
    message: string;
    metricAttributes?: { [key: string]: unknown };
    status?: string;
}

Hierarchy (View Summary)

Properties

capabilityName?: string
cause?: null | string
code: string | number
companyId?: string
connectionId?: string
connectorId?: string
details?: ErrorDetail[]
doNotSendToOE?: boolean
error?: { code?: string; message?: string }
errorCategory?: string
errorMessage?: string
expected?: boolean
httpResponseCode: number
id?: string
interactionId?: string
interactionToken?: string
isErrorCustomized?: boolean
isResponseCompatibleWithMobileAndWebSdks?: boolean
message: string
metricAttributes?: { [key: string]: unknown }
status?: string