Index was outside the bounds of the array

Thank you for the link to “Content vs Endpoint” as it really helped cement the differences for me. It’s honestly been a grey area since my first dive into UD.

I have modified the code so there is only a single Column level endpoint with the content inside.

New-UDColumn -size 3 -Id “TITLE” -Endpoint {

    if (($Cache:ServerNamebackground -eq $Cache:BGPass) -and ($Cache:ServerNameping -eq $Cache:BGPass)){
        $Cache:ServerNamefinal = $Cache:BGpass
        New-UDCard -Id "TITLECard" -Title "TITLE" -Size small -BackgroundColor $Cache:ServerNamefinal -Content {
        }
    }
    else {
        $Cache:ServerNamefinal = $Cache:BGfail
        New-UDCard -Id "TITLECard" -Title "TITLE" -Size small -BackgroundColor $Cache:ServerNamefinal -Content {
            New-UDParagraph -Text $Cache:ServerNamefailedService
            New-UDParagraph -Text $Cache:ServerNamefailedping
            New-UDParagraph -Text $Cache:ServerNameWMI
        }
    }
} -AutoRefresh -RefreshInterval 10

However, the issue has returned today. Digging deeper, it seems to resolve itself after one of my scheduled endpoints is run. While I agree that less endpoints is better, my need requires more than a few.

Endpoint for testing Ping status – Often
Endpoint for testing running services – Less often
Various endpoints for testing other specs on remote servers-- Frequency depends on data

Is there a certain level of UD-Logging suggested? Or possibly a certain thing to look for in the logs? With this being intermittent, my log files become huge before an error occurs.

Thank you again