Alerter: using variables/secret with type pushover does not work #1528

Open
opened 2026-03-22 17:33:49 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @capitain-schos on GitHub (Dec 18, 2025).

Hi!
I really enjoy komodo, but I witnessed one issue: Using the Pushover alerter with variables for the user and the API token does not work.

ERROR: Failed to send alert to Pushover Alerter alerter-pushover

TRACE:
	1: Failed to send message to pushover | 400 Bad Request | {"token":"invalid","errors":["application token is invalid, see https://pushover.net/api"],"status":0,"request":"2c8d81b3-bbe0-42f7-9938-7d7df901d003"}

Using a custom alerter the variable interpolation works as expected (but the message is empty). I checked the docs but found nothing regarding the alerters. Please find a reduced toml below.


[[variable]]
name = "PUSHOVER_USER"
value = "here is the very long user id"
is_secret = true

##

[[variable]]
name = "PUSHOVER_API_TOKEN"
value = "here is the very long token"
is_secret = true

##

# This does not work
[[alerter]]
name = "alerter-pushover"
[alerter.config]
enabled = true
endpoint.type = "Pushover"
endpoint.params.url = "https://api.pushover.net/1/messages.json?token=[[PUSHOVER_API_TOKEN]]&user=[[PUSHOVER_USER]]"`

##
# This works
[[alerter]]
name = "alerter-custom"
[alerter.config]
enabled = true
endpoint.type = "Custom"
endpoint.params.url = "https://api.pushover.net/1/messages.json?token=[[PUSHOVER_API_TOKEN]]&user=[[PUSHOVER_USER]]"`
Originally created by @capitain-schos on GitHub (Dec 18, 2025). Hi! I really enjoy komodo, but I witnessed one issue: Using the Pushover alerter with variables for the user and the API token does not work. ``` ERROR: Failed to send alert to Pushover Alerter alerter-pushover TRACE: 1: Failed to send message to pushover | 400 Bad Request | {"token":"invalid","errors":["application token is invalid, see https://pushover.net/api"],"status":0,"request":"2c8d81b3-bbe0-42f7-9938-7d7df901d003"} ``` Using a custom alerter the variable interpolation works as expected (but the message is empty). I checked the docs but found nothing regarding the alerters. Please find a reduced toml below. ``` [[variable]] name = "PUSHOVER_USER" value = "here is the very long user id" is_secret = true ## [[variable]] name = "PUSHOVER_API_TOKEN" value = "here is the very long token" is_secret = true ## # This does not work [[alerter]] name = "alerter-pushover" [alerter.config] enabled = true endpoint.type = "Pushover" endpoint.params.url = "https://api.pushover.net/1/messages.json?token=[[PUSHOVER_API_TOKEN]]&user=[[PUSHOVER_USER]]"` ## # This works [[alerter]] name = "alerter-custom" [alerter.config] enabled = true endpoint.type = "Custom" endpoint.params.url = "https://api.pushover.net/1/messages.json?token=[[PUSHOVER_API_TOKEN]]&user=[[PUSHOVER_USER]]"` ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#1528