VeeamNotify icon indicating copy to clipboard operation
VeeamNotify copied to clipboard

I get an error when sending a message in Telegram. I don't understand what the error could be.

Open dmitro4911 opened this issue 4 months ago • 0 comments

What happened?

I get an error when sending a message in Telegram. I don't understand what the error could be.

Steps To Reproduce

2024-04-19T20:36:00.442Z [INFO] Transcript is being logged to 'C:\VeeamScripts\VeeamNotify\log\2024-04-19_23.35.44-sait_(Incremental).log'. 2024-04-19T20:36:13.940Z [INFO] Sending notification to Telegram. PS>TerminatingError(Send-Payload): "Не удается найти параметр, соответствующий имени параметра "Body"." 2024-04-19T20:36:14.014Z [ERROR] Unable to send Telegram notification: Не удается найти параметр, соответствующий имени параметра "Body". 2024-04-19T20:36:14.102Z [INFO] Stopping transcript logging.

VeeamNotify version

v1.0

PowerShell version

7.x

Veeam Backup & Replication build number

11.01

Relevant log output

**********************
Начало записи сценария Windows PowerShell
Время начала: 20240419233544
Имя пользователя: WORK\СИСТЕМА
Запуск от имени пользователя: WORK\СИСТЕМА
Имя конфигурации: 
Компьютер: VEEAM (Microsoft Windows NT 10.0.17763.0)
Ведущее приложение: powershell.exe -ExecutionPolicy ByPass -Command  try {& 'C:\VeeamScripts\VeeamNotify\Bootstrap.ps1'  -ErrorAction Stop } catch { exit 1 } 
ИД процесса: 4072
PSVersion: 5.1.17763.5458
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.17763.5458
BuildVersion: 10.0.17763.5458
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
2024-04-19T20:35:44.642Z [INFO] Transcript is being logged to 'C:\VeeamScripts\VeeamNotify\log\2024-04-19_23.35.44_Bootstrap.log'.
2024-04-19T20:35:44.779Z [INFO] Version: v1.0.1
2024-04-19T20:35:45.077Z [INFO] Getting VBR job details
2024-04-19T20:35:51.298Z [INFO] Getting VBR session information
2024-04-19T20:35:57.408Z [INFO] Bootstrap script for Veeam job 'sait (Incremental)' (job f525ae6b-ad10-4665-833e-36d42f24559c session 1a31f01e-19dd-4325-b554-4255d10ddc55) - Session & job detection complete.
2024-04-19T20:35:57.427Z [INFO] Launching AlertSender.ps1...
2024-04-19T20:35:57.487Z [INFO] AlertSender.ps1 launched successfully.
2024-04-19T20:35:57.504Z [INFO] Stopping transcript logging.
**********************
Конец записи протокола Windows PowerShell
Время окончания: 20240419233557
**********************
**********************
Начало записи сценария Windows PowerShell
Время начала: 20240419233600
Имя пользователя: WORK\СИСТЕМА
Запуск от имени пользователя: WORK\СИСТЕМА
Имя конфигурации: 
Компьютер: VEEAM (Microsoft Windows NT 10.0.17763.0)
Ведущее приложение: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -file C:\VeeamScripts\VeeamNotify\AlertSender.ps1 -JobName sait (Incremental) -Id 1a31f01e-19dd-4325-b554-4255d10ddc55 -JobType Backup -Config {  "services": {    "discord": {      "webhook": "DiscordWebhook",      "user_id": "123456789"    },    "slack": {      "webhook": "SlackWebhook",      "user_id": "A1B2C3D4E5"    },    "teams": {      "webhook": "TeamsWebhook",      "user_id": "[email protected]",      "user_name": "Your Name"    },    "telegram": {      "bot_token": "..............",      "chat_id": "........"    }  },  "mentions": {    "on_failure": false,    "on_warning": false  },  "notifications": {    "on_success": true,    "on_failure": true,    "on_warning": true  },  "logging": {    "enabled": true,    "level": "info",    "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\2024-04-19_23.35.44-sait_(Incremental).log
ИД процесса: 10844
PSVersion: 5.1.17763.5458
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.17763.5458
BuildVersion: 10.0.17763.5458
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
2024-04-19T20:36:00.442Z [INFO] Transcript is being logged to 'C:\VeeamScripts\VeeamNotify\log\2024-04-19_23.35.44-sait_(Incremental).log'.
2024-04-19T20:36:13.940Z [INFO] Sending notification to Telegram.
PS>TerminatingError(Send-Payload): "Не удается найти параметр, соответствующий имени параметра "Body"."
2024-04-19T20:36:14.014Z [ERROR] Unable to send Telegram notification: Не удается найти параметр, соответствующий имени параметра "Body".
2024-04-19T20:36:14.102Z [INFO] Stopping transcript logging.
**********************
Конец записи протокола Windows PowerShell
Время окончания: 20240419233614
**********************

dmitro4911 avatar Apr 19 '24 21:04 dmitro4911