Section 2 · Common data sources

Diagnose a failed Save & test when connecting a data source

Estimated time: 1 min

When Save & test fails, check these first

A failed connection test usually comes down to a handful of causes:

CheckWhy it’s common
URL, port, and protocol (http or https)The wrong port or endpoint is a leading cause of connection failures.
Credentials and token scopeAuth errors often look like connection errors. Confirm the account or token has the permissions the data source needs.
Network reachabilityGrafana must be able to reach the endpoint over the network. A firewall, VPC, or private network can block access.

Tip: Read the exact error message. A 401 or 403 points to credentials or permissions, while a timeout or “connection refused” points to networking.


Learn more

The data source troubleshooting guide covers connection, authentication, and query errors in detail.

Troubleshoot data sources