Skip to main content

BrightGauge | Error: "You do not have permission to access this URL"

BrightGauge, You do not have permission to access this URL, BrightGauge Integration

Updated this week

Overview πŸ’₯

When setting up the BrightGauge integration with Liongard, you may encounter the error:

You do not have permission to access this URL.

This happens when the integration is configured using a Liongard Agent Install Key instead of a Liongard API Token. BrightGauge requires proper API authentication to access Liongard data, and agent install keys cannot provide the necessary permissions.

This article explains:

  • Why the error occurs.

  • The difference between install keys and API tokens.

  • How to correctly generate an API token.

  • Steps to update BrightGauge.

  • Security reminders & when to contact support.


Why This Happens? πŸ€”

The root cause is using the wrong type of credential.

Credential Comparison

Credential Type

Purpose

Can Access Liongard API?

Works With BrightGauge?

Agent Install Key

Used only to install Liongard Agents on machines

❌ No API access

❌ Not supported

API Token

Secure token used for integrations (BrightGauge, PowerShell, custom APIs)

βœ” Full API access (based on user permissions)

βœ” Required

Summary

BrightGauge communicates with Liongard via API endpoints, so it must authenticate using a Liongard API Token, not an install token.


How to Resolve the Error πŸ§‘β€πŸ«

Follow the steps below to correct the integration.

1️⃣ Generate a Liongard API Token

You will need a token with permissions to access the data BrightGauge will query.

Instructions

  1. Log into Liongard.

  2. Click your username (top-right corner).

  3. Select Account Settings.

  4. Navigate to Access Tokens.

  5. Click Generate New Token.

  6. Copy and securely save:

    • Access Key ID

    • Access Key Secret (shown only once)

Field

Description

Access Key ID

Used as the username for authentication

Access Key Secret

Used as the password; displayed only once

🟦 The token inherits the permissions of the user account that generated it.

2️⃣ Update the BrightGauge Integration

  1. Log into BrightGauge.

  2. Go to Datasources β†’ Liongard.

  3. Replace the existing credentials with your API Key ID and API Key Secret.

  4. Save the integration.

  5. Test a data pull to confirm successful authentication.

3️⃣ Verify Token Permissions (If Issues Continue)

The API token must be created by a Liongard user who has access to the data BrightGauge is trying to report on.

Recommended Minimum Permissions

Area

Needed?

Why

Inspectors

βœ”

Needed for metrics/data extraction

Environment Access

βœ”

Determines which customers BrightGauge can query

Read-Only or Above

βœ”

Read is sufficient; admin not required

If the user lacks permission to view data in Liongard, BrightGauge pulls will fail.


Summary 🀩

Symptom

Likely Cause

Resolution

Same error after replacing credentials

Wrong credential type used

Ensure you're using API token, not install key

β€œUnauthorized” or 401 errors

Token created by user with low permissions

Generate token using a user with correct read access

Data sync partially works

Mixed outdated and new tokens in BrightGauge

Remove old credentials and restart data source

BrightGauge cannot connect at all

Network/firewall restrictions

Ensure access to Liongard API endpoint


Security Reminder 🌟

  • Store API tokens in a secure password vault

  • Never share tokens in chat, email, or screenshots

  • Revoke old or unused tokens

  • Rotate tokens periodically based on organizational policy


When to Contact Support 🦁

Contact Liongard Support if:

  • You used a correct API token but still receive permission errors.

  • API requests are failing despite valid credentials.

  • You observe inconsistent or partial data sync results.

  • You want help validating API request logs.

🎯 Include timestamps, the user account used, and any BrightGauge error text.

Contact BrightGauge Support if:

  • BrightGauge cannot connect to any external datasource.

  • Data sets fail to refresh after credentials are updated.

  • Dashboard widgets show stale or missing data.

  • API token fields in UI appear to not save or accept new tokens.


Additional Resources πŸ“š

Did this answer your question?