Skip to main content

Troubleshooting

Find information to help you troubleshoot issues using CDF as a data source in Grafana.

Bad Gateway error when setting up the API Host

Symptom

When clicking Save & test in the CDF plugin configuration, the user gets a Bad Gateway error. The developer tab in Grafana has a 502 error in the network tab.

Causes

The API Host in the setup is wrong, but the user only gets the Bad Gateway error message.

Fixes

Check that the API Host field has a valid Cognite hostname.

  • If the project uses the default multi-tenant cluster (api.cognitedata.com), keep the default value and don't change the hostname.
  • If the project uses another cluster like, westeurope-1.cognitedata.com, change the hostname to point to the API server for the cluster.
  • If you're unsure, use the default hostname.
  • Do not use https:// or trailing slashes / in the API Host field.