Loading
시스템 관리자에 대한 피싱 방지 MFA 및 전 직원사용자 MFA 적용 안내 더 많이 읽기

Anypoint Monitoring Metrics API Returns Null/Empty Data Despite Dashboard Showing Metrics

게시 일자: Jul 30, 2026
상세 설명
  • Executing queries via the Anypoint Monitoring Metrics API for an API instance in one environment (e.g., Staging) returns null or empty dataset results ("data": []).

  • The same API query might be succeeding and returning valid metric data when pointed to another environment.

  • The built-in dashboard in the Anypoint Monitoring UI actively displays metrics for the target API instance.

  • The API request returns a 200 OK HTTP status code .

솔루션

The Connected App used to generate the Bearer Token lacks the required environment-level scopes/permissions for the target environment .

Because metrics are filtered by access rights, the API silently excludes data for environments where the token lacks permission, resulting in empty or null responses rather than an explicit HTTP access denied error.

 

The Connected App must be granted the following permissions for each target Business Group and Environment:

  1. API Configuration Viewer (Environment level)

  2. Read application / Read Applications (Environment level)

https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/f1e97bc6-315a-4490-82a7-23abe036327a.anypoint-platform/metrics-api/minor/1.0/pages/5pb-gye/Access%20Control/

Knowledge 기사 번호

005390308

 
로드 중
Salesforce Help | Article