@gradientedge/commercetools-utils
    Preparing search index...

    Interface ExtensionBadResponseError

    Returned when the response from the API Extension could not be parsed successfully (such as a 500 HTTP status code, or an invalid JSON response).

    interface ExtensionBadResponseError {
        code: "ExtensionBadResponse";
        extensionBody?: string;
        extensionErrors: ExtensionError[];
        extensionExtraInfo?: any;
        extensionId: string;
        extensionKey?: string;
        extensionStatusCode?: number;
        localizedMessage?: LocalizedString;
        message: string;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    code: "ExtensionBadResponse"

    Error identifier.

    extensionBody?: string

    The response body returned by the Extension.

    extensionErrors: ExtensionError[]

    Additional errors related to the API Extension.

    extensionExtraInfo?: any

    Any information that should be returned to the API caller.

    extensionId: string

    Unique identifier of the Extension.

    extensionKey?: string

    User-defined unique identifier of the Extension.

    extensionStatusCode?: number

    Http status code returned by the Extension.

    localizedMessage?: LocalizedString

    User-defined localized description of the error.

    message: string

    Description of the invalid Extension response. For example, "The extension did not return the expected JSON.".