mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[GH-ISSUE #1059] NTFY Integration Sends plain JSON instead of formatted Notification #733
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#733
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @daytonrea on GitHub (Sep 8, 2024).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/1059
Currently the NTFY integration is sending me plain JSON as a notification instead of the expected formatted notification.

@cuu508 commented on GitHub (Sep 8, 2024):
@daytonrea commented on GitHub (Sep 10, 2024):
yes problem is reproduced when creating a new project and using test button, I am using ios client but problem is also reproduced on the web ui. do you want me to email the link to contact at health checks dot io?
@cuu508 commented on GitHub (Sep 11, 2024):
I reproduced the issue and am looking into it. Sorry about the couple of test notifications you received.
@cuu508 commented on GitHub (Sep 11, 2024):
Ah, the problem is the server URL.
For your integration the server URL is
https://ntfy.sh/<topic_name>.When posting message as JSON, the server URL should not contain the topic name and should be just
https://ntfy.sh(as the topic name is contained in the JSON payload): https://docs.ntfy.sh/publish/#publish-as-json@cuu508 commented on GitHub (Sep 11, 2024):
I'm thinking about adding a help text under the "Server URL" field:
I know this may hard to say after the fact, but do you think this would have helped?