[Logs UI] Return status code 403 instead of 500 for log analysis routes when missing ml capabilities #70414
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Logs UI
Logs UI feature
Team:Infra Monitoring UI - DEPRECATED
DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Milestone
Summary
With the addition of capability checks in #70069 the log analysis result routes will return the HTTP status code 500 when the underlying ML service throws an error resulting from missing capabilities. The routes should catch that and return a status code 403 instead.
The text was updated successfully, but these errors were encountered: