AAI Data Insights fails to fetch data with "500 Internal Server Error" and "401 Unauthorized" in server logs
search cancel

AAI Data Insights fails to fetch data with "500 Internal Server Error" and "401 Unauthorized" in server logs

book

Article ID: 443120

calendar_today

Updated On:

Products

Automation Analytics & Intelligence

Issue/Introduction

Users are unable to fetch or load certain data within the Data Insights module of Automation Analytics & Intelligence (AAI). Instead of the expected data being displayed, the application fails to populate the view.

 

When analyzing the behavior via the browser's Network Developer Tools, the following 500 Internal Server Error is generated:

{
  "timestamp": 1776175736413,
  "status": 500,
  "error": "Internal Server Error",
  "path": "/aai/collector/jobStatusData"
}

 

Simultaneously, the server.log records a 401 Unauthorized exception indicating a failure to retrieve the logged-in user's profile:

INFO  [CollectorStartupListener] Registering Purge SchedulerAuditHistory task with scheduler service..
2026-03-16 10:40:30,383 ERROR [RestSecurityUtils] Failed to retrieve user profile: /aai/api/users/me?fetch=all ERROR:    HTTP STATUS = 401 UNAUTHORIZED    MESSAGE = {"exceptionClass":"","exceptionMessage":"","stackTrace":"","message":"You Must Be Logged On To Use This Service"}
com.termalabs.common.serviceutils.ApiException: /aai/api/users/me?fetch=all ERROR:    HTTP STATUS = 401 UNAUTHORIZED    MESSAGE =

Environment

 

  • Product: Automation Analytics & Intelligence (AAI)

  • Version: 24.x

 

Cause

This issue is a recognized software defect within the product's authentication/session handling when processing Data Insights requests.

  • Defect ID: DE184171

Resolution

This issue is fixed from AAI version 24.4.1, which has been released.

 

Workaround

If you encounter this issue and need immediate access to Data Insights prior to upgrading, you can temporarily resolve it by clearing your browser's cookies:

  1. Open the browser's Developer Tools (Press F12 or right-click anywhere on the page and select Inspect).

  2. Navigate to the Application tab in the top menu bar of the Developer Tools panel.

  3. In the left-hand sidebar under Storage, expand the Cookies section.

  4. Select the affected application URL.

  5. Right-click the URL or the cookie list and select Clear to remove all the cookies.

  6. Refresh the browser page and log back into the AAI application.