{"record":{"id":"2637fd0dfabc6715","repo":"louislam/uptime-kuma","slug":"chatidnotfound","errorCode":null,"errorMessage":"chatIDNotFound","messagePattern":"chatIDNotFound","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"src/components/notifications/Bale.vue","lineNumber":97,"sourceCode":"\n        /**\n         * Get the bale chat ID\n         * @returns {Promise<void>}\n         * @throws The chat ID could not be found\n         */\n        async autoGetBaleChatID() {\n            try {\n                let res = await axios.get(this.baleGetUpdatesURL(\"withToken\"));\n\n                if (res.data.result.length >= 1) {\n                    let update = res.data.result[res.data.result.length - 1];\n\n                    if (update.channel_post) {\n                        this.$parent.notification.baleChatID = update.channel_post.chat.id;\n                    } else if (update.message) {\n                        this.$parent.notification.baleChatID = update.message.chat.id;\n                    } else {\n                        throw new Error(this.$t(\"chatIDNotFound\"));\n                    }\n                } else {\n                    throw new Error(this.$t(\"chatIDNotFound\"));\n                }\n            } catch (error) {\n                this.$root.toastError(error.message);\n            }\n        },\n    },\n};\n</script>\n","sourceCodeStart":79,"sourceCodeEnd":109,"githubUrl":"https://github.com/louislam/uptime-kuma/blob/6b5ea0155793e666666745fb8d6fef1e829543a2/src/components/notifications/Bale.vue#L79-L109","documentation":"Error \"chatIDNotFound\" thrown in louislam/uptime-kuma.","triggerScenarios":"Thrown at src/components/notifications/Bale.vue:97 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Open the Bale notification settings in Uptime Kuma and verify the Chat ID field is filled in.","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.","If the message is sent to a group, add the bot to the group first and use the group's (negative) chat ID.","Re-test the notification after saving the corrected chat ID."],"exampleFix":"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.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6b5ea0155793e666666745fb8d6fef1e829543a2","analyzedAt":"2026-08-12T23:42:12.959Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}