Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

id is invalid #284

Closed
anatoly-kor opened this issue Jun 28, 2022 · 3 comments
Closed

id is invalid #284

anatoly-kor opened this issue Jun 28, 2022 · 3 comments

Comments

@anatoly-kor
Copy link

anatoly-kor commented Jun 28, 2022

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

@AxelAli
Copy link

AxelAli commented Jul 22, 2022

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

@gabor
Copy link
Contributor

gabor commented Jun 21, 2024

hi @anatoly-kor , does the solution from #284 (comment) solve your problem?

if not, could you describe your setup in more detail?

@anatoly-kor
Copy link
Author

@gabor Yep, huge thanks for the help!

@gabor gabor closed this as completed Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Complete
Development

No branches or pull requests

3 participants