louislam/uptime-kuma · error · Error

chatIDNotFound

Error message

chatIDNotFound

What it means

Error "chatIDNotFound" thrown in louislam/uptime-kuma.

Solutions

  1. Open the Bale notification settings in Uptime Kuma and verify the Chat ID field is filled in.
  2. To get the chat ID, send a message to your Bale bot, then call the Bale Bot API getUpdates endpoint (https://tapi.bale.ai/bot<TOKEN>/getUpdates) and copy the chat.id value from the response.
  3. If the message is sent to a group, add the bot to the group first and use the group's (negative) chat ID.
  4. Re-test the notification after saving the corrected chat ID.

Example fix

Set the Chat ID in the Bale notification configuration to the numeric chat.id obtained from https://tapi.bale.ai/bot<TOKEN>/getUpdates, then click Test to confirm delivery.

When it happens

Trigger: Thrown at src/components/notifications/Bale.vue:97 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of louislam/uptime-kuma@6b5ea01557 (2026-08-12). Data as JSON: /api/errors/2637fd0dfabc6715. Report an issue: GitHub.

Appendix: source

Thrown at src/components/notifications/Bale.vue:97

        /**
         * Get the bale chat ID
         * @returns {Promise<void>}
         * @throws The chat ID could not be found
         */
        async autoGetBaleChatID() {
            try {
                let res = await axios.get(this.baleGetUpdatesURL("withToken"));

                if (res.data.result.length >= 1) {
                    let update = res.data.result[res.data.result.length - 1];

                    if (update.channel_post) {
                        this.$parent.notification.baleChatID = update.channel_post.chat.id;
                    } else if (update.message) {
                        this.$parent.notification.baleChatID = update.message.chat.id;
                    } else {
                        throw new Error(this.$t("chatIDNotFound"));
                    }
                } else {
                    throw new Error(this.$t("chatIDNotFound"));
                }
            } catch (error) {
                this.$root.toastError(error.message);
            }
        },
    },
};
</script>

View on GitHub (pinned to 6b5ea01557)