Skip to content

[BUG] filed send to telegramm #84

@selerok

Description

@selerok

What happened?

don't sent telegram

Steps To Reproduce

this is a new manual installation

VeeamNotify version

v1.0.1

PowerShell version

5.1

Veeam Backup & Replication build number

12.2

Relevant log output

debug

**********************
Начало записи сценария Windows PowerShell
Время начала: 20250103170733
Имя пользователя: veeam
Запуск от имени пользователя: veeam
Имя конфигурации: 
Компьютер: PS-WIN-VEEAM-01 (Microsoft Windows NT 10.0.20348.0)
Ведущее приложение: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -file C:\VeeamScripts\VeeamNotify\AlertSender.ps1 -JobName TEST/TEST-UBUNTU (Incremental) -Id 41c2dce9-1d99-465b-8cbe-9cd3378bd01f -JobType Backup -Config {  "services": {    "discord": {      "webhook": "DiscordWebhook",      "user_id": "123456789"    },    "slack": {      "webhook": "SlackWebhook",      "user_id": "A1B2C3D4E5"    },    "teams": {      "webhook": "TeamsWebhook",      "user_id": "user@domain.tld",      "user_name": "Your Name"    },    "telegram": {      "bot_token": "7768047883:AAHjQmDbFJzQgXzMO1YmlsjqqGGkjbnH7x4",      "chat_id": "5465161384"    }  },  "mentions": {    "on_failure": false,    "on_warning": false  },  "notifications": {    "on_success": true,    "on_failure": true,    "on_warning": true  },  "logging": {    "enabled": true,    "level": "debug",    "max_age_days": 7  },  "update": {    "notify": true,    "auto_update": false,    "auto_update_comment": "auto_update will NOT work. Leave as 'false'"  },  "thumbnail": "https://raw.githubusercontent.com/tigattack/VeeamDiscordNotifications/master/asset/thumb01.png"} -Logfile C:\VeeamScripts\VeeamNotify\log\2025-01-03_17.06.49-TEST/TEST-UBUNTU_(Incremental).log
ИД процесса: 31240
PSVersion: 5.1.20348.2652
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.20348.2652
BuildVersion: 10.0.20348.2652
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
2025-01-03T12:07:33.730Z [INFO] Transcript is being logged to 'C:\VeeamScripts\VeeamNotify\log\2025-01-03_17.06.49-TEST/TEST-UBUNTU_(Incremental).log'.
2025-01-03T12:08:01.527Z [DEBUG] Discord is unconfigured (invalid URL). Skipping Discord notification.
2025-01-03T12:08:01.543Z [DEBUG] Slack is unconfigured (invalid URL). Skipping Slack notification.
2025-01-03T12:08:01.543Z [DEBUG] Teams is unconfigured (invalid URL). Skipping Teams notification.
2025-01-03T12:08:01.543Z [INFO] Sending notification to Telegram.
PS>TerminatingError(Send-Payload): "Не удается найти параметр, соответствующий имени параметра "Body"."
2025-01-03T12:08:01.590Z [ERROR] Unable to send Telegram notification: Не удается найти параметр, соответствующий имени параметра "Body".
2025-01-03T12:08:01.621Z [DEBUG] Running log cleanup.
ПОДРОБНО: Выполнение операции "Remove expired log files" над целевым объектом "C:\VeeamScripts\VeeamNotify\log".
2025-01-03T12:08:01.637Z [DEBUG] Searching for log files older than 7 days.
2025-01-03T12:08:01.668Z [DEBUG] Found 0 logs files exceeding retention period.
2025-01-03T12:08:01.668Z [INFO] Stopping transcript logging.
**********************
Конец записи протокола Windows PowerShell
Время окончания: 20250103170801
**********************

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions