You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error comes when update request is sent from the panel, and it seems returned by the grafana server, not by remote (datasource) server. Below is the error text. Bold shown customized payload.
Request
{"status":500,"statusText":"Internal Server Error","data":{"message":"Query data error","traceID":"00000000000000000000000000000000"},"config":{"method":"POST","url":"api/ds/query","data":{"queries":[{"datasourceId":2,"refId":"A","databaseName":"xxxx","tagId":"HS-201","metric":"MV","value":1}]},"retry":0,"headers":{"X-Grafana-Org-Id":1},"hideFromInspector":false}}
This is Update Request configuration:
This is Request Payload with "Code" option selected:
Hi @asimonok. Thanks for your investigation!
Glad to hear there is plan to add the feature. Although update request via code is a good temporary workaround, registered datasource has advantage of keeping authentication hidden and credentials safe.
The error comes when update request is sent from the panel, and it seems returned by the grafana server, not by remote (datasource) server. Below is the error text. Bold shown customized payload.
Request
{"status":500,"statusText":"Internal Server Error","data":{"message":"Query data error","traceID":"00000000000000000000000000000000"},"config":{"method":"POST","url":"api/ds/query","data":{"queries":[{"datasourceId":2,"refId":"A","databaseName":"xxxx","tagId":"HS-201","metric":"MV","value":1}]},"retry":0,"headers":{"X-Grafana-Org-Id":1},"hideFromInspector":false}}
This is Update Request configuration:
This is Request Payload with "Code" option selected:
This is request headers:
This is request payload:
This is response:
The text was updated successfully, but these errors were encountered: