Troubleshoot issues with the Honeycomb data source
This page addresses common issues and error messages you may encounter when using the Honeycomb data source.
Connection errors
The following errors occur when testing the data source connection or configuring settings.
Missing URL
Error message: “Enter a URL”
Cause: The URL field is empty.
Solution:
- Navigate to your Honeycomb data source settings.
- Enter the Honeycomb API URL in the URL field.
- The default URL is
https://api.honeycomb.io.
Invalid URL scheme
Error message: “Invalid url: scheme must be https”
Cause: The URL doesn’t use HTTPS.
Solution:
- Update the URL to use
https://instead ofhttp://. - Save the data source configuration.
Missing API key
Error message: “Enter an API key”
Cause: The API key field is empty.
Solution:
- Obtain an API key from your Honeycomb account.
- Enter the API key in the Honeycomb API Key field.
- Save the data source configuration.
Missing team name
Error message: “Enter a Honeycomb team name”
Cause: The Team Name field is empty.
Solution:
- Enter your Honeycomb team name in the Team Name field.
- Save the data source configuration.
Bad request (400)
Error message: “Could not connect to Honeycomb. This usually happens when the URL is incorrect.”
Cause: The Honeycomb API returned a 400 error, typically due to an incorrect URL.
Solution:
- Verify the URL is correct.
- Reset the URL to the default:
https://api.honeycomb.io. - Save and test the connection again.
Unauthorized (401)
Error message: “The credentials are incorrect. Check that the URL and API key are correct.”
Cause: The API key is invalid, expired, or the URL is incorrect.
Solution:
- Verify that your API key is correct and has not expired.
- Check that the URL matches your Honeycomb environment.
- Generate a new API key from Honeycomb if the current one has been compromised or revoked.
Authentication failed
Error message: “Something went wrong. Ensure you are using correct API key”
Cause: The authentication request to Honeycomb failed.
Solution:
- Generate a new API key from your Honeycomb account.
- Update the API key in your data source configuration.
- Save and test the connection again.
Permission errors
These errors indicate your API key is missing required permissions.
Missing Run Queries permission
Error message: “Connected to honeycomb but API key missing permissions to run queries”
Cause: The API key doesn’t have the “Run Queries” permission enabled.
Solution:
- Go to your Honeycomb account.
- Edit the API key used for this data source.
- Enable the Run Queries permission.
- Save the API key and test the connection again.
Missing Manage Queries and Columns permission
Error message: “Connected to honeycomb but API key missing permissions to manage queries”
Cause: The API key doesn’t have the “Manage Queries and Columns” permission enabled.
Solution:
- Go to your Honeycomb account.
- Edit the API key used for this data source.
- Enable the Manage Queries and Columns permission.
- Save the API key and test the connection again.
Query errors
These errors occur when running queries against Honeycomb.
Conflicting time parameters
Error message: “time_range cannot be used with both start_time and end_time”
Cause: A raw query includes conflicting time parameters. The query specifies time_range along with both start_time and end_time.
Solution:
- Edit your raw query JSON.
- Use either
time_rangeOR bothstart_timeandend_time, but not all three. - Remove the conflicting parameter and run the query again.
Get additional help
If you encounter issues not covered here:
- Check the Honeycomb status page for service outages.
- Review the Honeycomb API documentation for API-specific issues.
- Review the Grafana community forums for similar issues.
- Contact Grafana Support if you’re an Enterprise, Cloud Pro, or Cloud Contracted user.
When reporting issues, include:
- Grafana version
- Honeycomb environment type (Classic or Environments)
- Query type (Metrics, SLO, or Raw Query)
- Error messages (redact sensitive information)
- Steps to reproduce
- Relevant configuration such as data source settings and API URL (redact API keys and other credentials)



