grafana-json-datasource icon indicating copy to clipboard operation
grafana-json-datasource copied to clipboard

id is invalid

Open anatoly-kor opened this issue 2 years ago • 3 comments

Hi. I have a some issue. Environment:

  • API app in docker with network
  • Grafana app in docker with same network

I try to get some value from api and get always 2 errors.

  1. "Bad Gateway" for http://localhost/v1/
  2. "id is invalid"

For bad gateway I just add port (80) and its gone. But for id I always have the same traceback:

  "request": {
    "url": "api/datasources/proxy/1/",
    "method": "GET",
    "hideFromInspector": false
  },
  "response": {
    "message": "id is invalid",
    "traceID": "00000000000000000000000000000000"
  }
}

Totally confused.

Thanks for your help

anatoly-kor avatar Jun 28 '22 10:06 anatoly-kor

What i would do is to add the name for the docker service like this Screen Shot 0004-07-22 at 16 18 27

AxelAli avatar Jul 22 '22 19:07 AxelAli