From 4da7f899c66371c0df870d67874a4d9e9c6af8f6 Mon Sep 17 00:00:00 2001 From: Debian Date: Mon, 5 Jan 2026 03:51:03 +0000 Subject: [PATCH] Add conditions field for Uptime Kuma v2 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Uptime Kuma v2 requires a non-null conditions field when creating monitors. Adding empty array to satisfy the constraint. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- backend/services/kuma_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/services/kuma_client.py b/backend/services/kuma_client.py index 704437f..af6ed4a 100644 --- a/backend/services/kuma_client.py +++ b/backend/services/kuma_client.py @@ -203,6 +203,7 @@ class UptimeKumaClient: "interval": monitor.interval, "maxretries": monitor.retries, "retryInterval": monitor.retry_interval, + "conditions": [], # Required for Uptime Kuma v2 } # Add type-specific fields