-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
send apprise alert #4928
Comments
Maybe there is a typo in the API token. Have you double-checked this? |
i am certain that is the correct one. and using the same token "apprise --body="Test Message" apprises://host/token/?tags=all" can send message. |
btw: in apprise API page, they call it "config ID", but you call it token. They mean to be the same thing, right? |
Cannot confirm. What page did you look at? |
I don't see how to get the needed parameter from the docs or from https://hub.docker.com/r/caronc/apprise. |
TL;DR;Define your apprise config name by
For example: ReasonsThis should be an upstream issue. The issue had been fixed in Apprise CLI 1.8.0, but Uptime Kuma's docker image came with Apprise CLI 1.6.0. https://github.com/caronc/apprise/releases/tag/v1.8.0
Before Apprise CLI 1.8.0, it accepts token length < 32 only. Also, before Apprise API 0.9.6, the config id is always defined by custom input, but now the config id is auto-generated with length 64, which length size cannot fit into any older versions of Apprise CLI. https://github.com/caronc/apprise-api/releases/tag/v0.9.6
My suggestion to Apprise API would be changing the auto-generated key length to 32 instead of 64 for better backward compatibility cc: @caronc (in case you are not aware of this) |
Thanks, @louislam ! That was exactly the problem. Changing to 32-length token solves the issue. |
🛡️ Security Policy
📝 Describe your problem
Hello,
I am trying to set up apprise notification on uptime kuma. When I do
I can receive the notification.
However, when I put
apprises://host/config_id/?tags=all
to uptime kuma and click test, I got the error.would you please let me know what I did wrong. thank you!
📝 Error Message(s) or Log
🐻 Uptime-Kuma Version
1.23.13
💻 Operating System and Arch
Synology NAS
🌐 Browser
Brave
🖥️ Deployment Environment
The text was updated successfully, but these errors were encountered: