Unauthorized error when connecting
What went wrong?
What happened: I'm getting the following error in the network when clicking the connect button after enabling the plugin, no error is visible in the UI
Endpoint: /api/plugins/grafana-oncall-app/resources/plugin/status
error setting up request headers: failed to parse JSON response: json: cannot unmarshal object into Go value of type []plugin.OrgUser body={"message":"Unauthorized","traceID":""}
Grafana version is v11.3.1 and the on-call server version is v1.13.2
How do we reproduce it?
Enabled the On-Call plugin and click connect
Grafana OnCall Version
v1.13.2
Product Area
Helm/Kubernetes/Docker, Alert Flow & Configuration
Grafana OnCall Platform?
Kubernetes
User's Browser?
Chrome
Anything else to add?
No response
This is #5100
@bpedersen2 i'm not sure if this is related, I may be wrong. But I was having the issue that was described in the issue, but I applied the fixes in that latest comment and now i'm getting this new error
make sure you have the following in your grafana.ini:
feature_toggles:
accessControlOnCall: false
enable: ...,externalServiceAccounts,... (any other features you may want)
and restarted your grafana instance.
@bpedersen2 I already have both of these in place
Do you happen to have more than one organization in your grafana instance? Then see https://github.com/grafana/oncall/issues/5100#issuecomment-2386949587
@bpedersen2 I only have one organisation in the grafana instance
@jrote1 were you able to get it working?
Also stuck with the same issue.