API Core - v2.4.1
    Preparing search index...

    Interface APICallLogDataWithErrorMessage

    Log data extended with the error message from a failed API call.

    interface APICallLogDataWithErrorMessage {
        dataType: string;
        errorMessage: string;
        method?: string;
        params: unknown;
        url?: string;
        toString(): string;
    }

    Hierarchy (View Summary)

    Index
    dataType: string
    errorMessage: string
    method?: string
    params: unknown
    url?: string
    • Serializes the log data to JSON in the fixed key order, redacting every value through the injected vocabulary. ONE record is ONE line: the host that reads these lines back (a Homey diagnostic report) keeps about the last hundred lines of an app's stdout, and an indented Classic /User/ListDevices body alone ran past that window, so a report carried the tail of one dump and no other line at all. A body above MAX_LOGGED_BODY_BYTES is omitted whole and counted, so a hundred records also fit the report's upload.

      Returns string

      The redacted, single-line JSON record.