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/

ナレッジ記事番号

005390308

 
読み込み中
Salesforce Help | Article