dashboard – The complete dashboard model, id = null to create a new dashboard
overwrite – Set to true if you want to overwrite existing dashboard with newer version or with same dashboard title.
what I got in my response is that:
{u’message’: u’Not found’}
and this kind of response is not in the guide book.
Guide doc says that:
Status Codes:
200 – Created
400 – Errors (invalid json, missing or invalid fields, etc)
401 – Unauthorized
412 – Precondition failed
The 412 status code is used when a newer dashboard already exists (newer, its version is greater than the version that was sent). The same status code is also used if another dashboard exists with the same title.
/api/dashboards/db
Only dashboard API is NOT working, have you tested it?
I currently use the official example do the http post and the same result returns as my own json file.
I am trying to import dashboard using grafna API. But I get error as below.
[{“fieldNames”:[“Dashboard”],“classification”:“RequiredError”,“message”:“Required”}]
Please any one help me to solve this error.
Please include this information:
What Grafana version are you using?