HTTP STATUS = 401 UNAUTHORIZED MESSAGE = {"stackTrace":"","message":"You Must Be Logged On To Use This Service"
search cancel

HTTP STATUS = 401 UNAUTHORIZED MESSAGE = {"stackTrace":"","message":"You Must Be Logged On To Use This Service"

book

Article ID: 440750

calendar_today

Updated On:

Products

Automation Analytics & Intelligence

Issue/Introduction

The following error is observed in the server.log but not seeing any issue loading Data Insights in AAI

ERROR [org.springframework.boot.web.servlet.support.ErrorPageFilter] Forwarding to error page from request [/completionStatusData] due to exception [Failed to retrieve completion status data: /aai/api/globalSearch/jobRuns ERROR: HTTP STATUS = 401 UNAUTHORIZED MESSAGE = {"stackTrace":"","message":"You Must Be Logged On To Use This Service","exceptionMessage":"","exceptionClass":""}]

Environment

  • Product: Automation Analytics & Intelligence (AAI)

Cause

Session Timeouts: The 401 messages are frequently caused by standard idle session timeouts (typically 30 minutes). When a user's session expires and they attempt to interact with a Data Insights dashboard before re-authenticating, the server rejects the expired cookie.

Resolution

These errors are generally considered expected behavior and do not require configuration changes if the following conditions are met:

  • Intermittent Occurrence: The errors are sporadic and correlate with periods of user inactivity.
  • Self-Recovery: The errors cease immediately once the user logs back into the application.
  • Functional Data Insights: The Data Insights feature remains fully functional for active sessions via the default backend URL.

Recommendation: If the 401 errors are intermittent and self-recovering, they can be safely ignored. If you are seeing issues with Data Insights not loading that would warrant further investigation