Skip to content

Grafana/Signoz Webhook Error Code 400 #139

@roomit-xyz

Description

@roomit-xyz

Dear Dev,

I have deployed matrix-webhook

If I hit manual using curl, All is running well

curl -d '{"body":"Test WEBHOOK MATRIX", "key": "xxxxxxxxxxxxx"}'   'http://matrix-webhook.xxxxxx.xxx:8443/!lcGnHYvcRftvBdvRgr:matrix.xxxxxx.xxx'

{"status": 200, "ret": "OK"}

And when I added alert I webhook in signoz or grafana I got error 400 code.

level=error ts=2024-03-26T07:42:18.583Z caller=api.go:808 component=api version=v1 msg="API error" err="server_error: unexpected status code 400:

I have added in last URL for grafana format

?formatter=grafana&key=MYTOKEN

like :

http://webhook.xxxxxx.xxx:8443/!lcGnHYvcRsftvBdvxRgr:webhook.xxxxxx.xxx?formatter=grafana&key=MYTOKEN

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions