mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #1117] Random HTTP/401 with webhook integration to Google Chat #777
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#777
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 @vrcdx64 on GitHub (Jan 23, 2025).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/1117
Hello,
I use the webhook integration to get notified when a check is down. The provider, behind it, is Google Chat. The configuration is simple, the webhook URL contains the chat ID, key and the token like:
https://chat.googleapis.com/v1/spaces/<id1>/messages?key=<key>&token=<token>.Randomly, the integration get a HTTP/401 unauthorized. But if I click on « Test » I have no problem, even if I spam the action.
The webhook URL is used by others app without problems. Do you have any idea
Do you have any idea? Thank you!
@cuu508 commented on GitHub (Jan 23, 2025):
It would be good to see the precise JSON payload that gets posted – perhaps there are special characters in $NAME or $TAGS that lead to an invalid JSON syntax.
An easy way to see the payload would be to set up another webhook integration which posts to a request catcher service (requestbin, httpbin, that sort of service) and see what gets sent.