Skip to content

fix(demo): protected dashboard sections fail with a generic error in Live Demo #650

Description

@sanskritisingh245

Description

The public Live Demo exposes dashboard sections that are not accessible correctly for an unauthenticated visitor.

When opening the Live Demo and navigating to certain sections such as Audience, the page displays:

Something went wrong. Try again in a moment.

Checking the Network tab shows that the page sends a request to:

POST /v1/query

which returns:

401 Unauthorized

Since the Live Demo is publicly accessible and no login flow is presented before accessing these sections, this results in a broken and confusing demo experience.

Steps to reproduce

  1. Open https://databuddy.cc/demo
  2. Click Live Demo
  3. Navigate to Audience
  4. Observe the error message
  5. Open DevTools → Network
  6. The request to /v1/query returns 401 Unauthorized

Expected behavior

The Live Demo should either:

  • provide access to the supported demo dashboard sections without requiring the visitor to authenticate, or
  • clearly indicate that a section requires authentication instead of showing a generic error.

Actual behavior

The page sends a protected API request that returns 401 Unauthorized, and the UI only displays a generic:

Something went wrong. Try again in a moment.

Additional context

The Dashboard itself loads demo data successfully, but navigating to certain other dashboard sections results in the unauthorized request and generic error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions