-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
PS>TerminatingError(New-DiscordPayload): "Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'."
TerminatingError(New-DiscordPayload): "Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'."
2025-05-14T16:18:44.997Z [ERROR] Discord notification could not be sent: Message=Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'.
Slack issue picture attached.
Steps To Reproduce
No response
VeeamNotify version
v2.0.0
PowerShell version
5.1
Veeam Backup & Replication build number
12.3.1.1139
Relevant log output
**********************
Windows PowerShell transcript start
Start time: 20250514110115
Username:
RunAs User:
Configuration Name:
Machine: LAB-VEEAM25 (Microsoft Windows NT 10.0.26100.0)
Host Application: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -File C:\VeeamScripts\VeeamNotify\Bootstrap.ps1
Process ID: 16916
PSVersion: 5.1.26100.4061
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.26100.4061
BuildVersion: 10.0.26100.4061
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
2025-05-14T16:01:15.107Z [INFO] Transcript is being logged to 'C:\VeeamScripts\VeeamNotify\log\2025-05-14_11.01.15_Bootstrap.log'.
2025-05-14T16:01:15.236Z [INFO] Version: v2.0.0
2025-05-14T16:01:15.830Z [INFO] Configuration validated successfully.
2025-05-14T16:01:16.111Z [INFO] Getting VBR job details
2025-05-14T16:01:25.680Z [INFO] Getting VBR session information
2025-05-14T16:01:25.869Z [INFO] Bootstrap script for Veeam job ' (Full)' (job b9ee2ebf-1894-42c4-8dd8-69cc5f05f73f session c26680f2-2698-46e0-aa8a-579b6c508730) - Session & job detection complete.
2025-05-14T16:01:25.893Z [INFO] Launching AlertSender.ps1...
2025-05-14T16:01:25.950Z [INFO] AlertSender.ps1 launched successfully.
2025-05-14T16:01:25.963Z [INFO] Stopping transcript logging.
**********************
Windows PowerShell transcript end
End time: 20250514110125
**********************
**********************
Windows PowerShell transcript start
Start time: 20250514110130
Username:
RunAs User:
Configuration Name:
Machine: LAB-VEEAM25 (Microsoft Windows NT 10.0.26100.0)
Host Application: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -File C:\VeeamScripts\VeeamNotify\AlertSender.ps1 -SessionId c26680f2-2698-46e0-aa8a-579b6c508730 -JobType Backup -Config {
"services": {
"discord": {
"enabled": true,
"webhook": "",
"user_id": ""
},
"slack": {
"enabled": true,
"webhook": "",
"user_id": ""
},
"teams": {
"enabled": false,
"webhook": "TeamsWebhook",
"user_id": "user_id",
"display_name": "user_display_name"
},
"telegram": {
"enabled": false,
"bot_token": "TelegramBotToken",
"chat_id": "TelegramChatID",
"user_name": "yourusername"
},
"http": {
"enabled": false,
"url": "EndpointURL",
"method": "POST"
}
},
"mentions": {
"on_failure": true,
"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 is not yet implemented. This will do nothing even if \u0027true\u0027."
},
"thumbnail": "https://raw.githubusercontent.com/tigattack/VeeamNotify/main/asset/thumb01.png"
}
-Logfile C:\VeeamScripts\VeeamNotify\log\2025-05-14_11.01.15-_(Full).log
Process ID: 17560
PSVersion: 5.1.26100.4061
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.26100.4061
BuildVersion: 10.0.26100.4061
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
2025-05-14T16:01:30.466Z [INFO] Transcript is being logged to 'C:\VeeamScripts\VeeamNotify\log\2025-05-14_11.01.15-_(Full).log'.
PS>TerminatingError(New-DiscordPayload): "Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'."
>> TerminatingError(New-DiscordPayload): "Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'."
2025-05-14T16:01:41.538Z [ERROR] Discord notification could not be sent: Message=Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'.
2025-05-14T16:01:41.925Z [INFO] Slack notification sent successfully.
2025-05-14T16:01:42.013Z [INFO] Stopping transcript logging.
**********************
Windows PowerShell transcript end
End time: 20250514110142
**********************Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
