I have created a slack contact point using Grafana Operator
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaContactPoint
metadata:
name: slack-contact-point
namespace: grafana
spec:
instanceSelector:
matchLabels:
dashboards: "grafana"
name: "Slack Contact"
type: slack
settings:
recipient: "#argocd"
username: "Grafana"
icon_emoji: ":grafana:"
token: ""
valuesFrom:
- targetPath: token
valueFrom:
secretKeyRef:
name: credentials
key: SLACK_TOKEN
This creates a slack contact point in grafana.
But when I try to test notification delivery I get this error.
Logs from grafana instance:
logger=ngalert.notifier.slack notifierUID=0cf3251e-23df-4464-b9f6-7c06af020de9 t=2025-12-23T22:32:28.607966088Z level=error msg="Missing receiver"
logger=ngalert.notifier.slack notifierUID=0cf3251e-23df-4464-b9f6-7c06af020de9 t=2025-12-23T22:32:28.60860038Z level=error msg="Missing group labels"
logger=ngalert.notifier.slack notifierUID=0cf3251e-23df-4464-b9f6-7c06af020de9 t=2025-12-23T22:32:28.617948922Z level=error msg="Failed to send Slack message" err="failed to send request: Post \"I1lqTTBPVGhtTUdRdE56Z3lZeTAwTldWbUxXSTJZV0V0T0dJNE5qTTFaVEF4WVRreiMqWVdWekxXTm1ZZyphQmhRUzF0YjS4XvMDXJDKGTQ6n5XZMpQ=\": unsupported protocol scheme \"\""
When I do this manually using UI. It is working as expected.
And when I use this config:
valuesFrom:
- targetPath: settings.token
valueFrom:
secretKeyRef:
key: SLACK_TOKEN
name: credentials
I am getting this error:
message: |-
Contact point failed to be applied for 1 out of 1 instances. Errors:
- grafana/grafana: updating contact point: [PUT /v1/provisioning/contact-points/{UID}][400] putContactpointBadRequest {"message":"invalid object specification: failed to validate integration \"Slack Contact\" (UID 20a73fd1-9192-4da9-ac41-72946058d2da) of type \"slack\": token must be specified when using the Slack chat API"}

