Meta error (#100): "The value must be a valid insights metric"

One retired metric in a request fails every metric beside it. Meta has retired most impressions metrics on Pages, posts and Instagram, and published a replacement for many of them.

Start free →

Made with Hermoso

This error comes from the insights edges: GET /{page-id}/insights, GET /{post-id}/insights and the Instagram user and media insights edges. Dashboards that worked for years started returning it after Meta's deprecation rounds.

The exact error

{
  "error": {
    "message": "(#100) The value must be a valid insights metric",
    "type": "OAuthException",
    "code": 100
  }
}

What it means

At least one name in your metric list is not valid for this object and period. Meta rejects the whole request, not just that metric. A request for five metrics with one retired name returns nothing for all five.

Why it happens

Meta retires metrics for all API versions at once, so pinning an older Graph version does not help. Meta's deprecated metrics page says of each round: "The API will return an invalid metric error when calling any of these metrics." The replacements it publishes:

RetiredReplacementRetired on
page_impressionspage_media_viewNovember 15, 2025
page_impressions_uniquepage_total_media_view_uniqueJune 15, 2025
page_fanspage_followsNovember 15, 2025
post_impressionspost_media_viewNovember 15, 2025
post_impressions_uniquepost_total_media_view_uniqueJune 15, 2025
post_impressions_paidpost_media_view with the is_from_ads breakdownNovember 15, 2025
post_impressions_fanpost_media_view with the is_from_followers breakdownNovember 15, 2025

Many others, including most paid, viral and non-viral impression variants, have no replacement at all.

On Instagram, impressions is deprecated and views is its successor. Two more Instagram rules produce empty or failed reads: only reach supports metric_type=time_series, so other account metrics need total_value, and the demographic metrics are not returned below Meta's floor of 100 followers or 100 engagements. A missing demographic block means below the floor, not nobody.

How to fix it

  1. Compare every name in your request with Meta's deprecated metrics page and swap in the published replacement.
  2. Drop retired metrics that have no replacement. They will not come back.
  3. If the error persists, request each metric on its own to find the one Meta refuses, then fix or drop it.
  4. Keep a list of metrics Meta refused and stop requesting them, so a dead name does not cost a failed batch on every read.
  5. On Instagram, request views instead of impressions and pass metric_type=total_value for account metrics other than reach.

How Hermoso handles it

Hermoso reads Facebook Page, post and Instagram insights for your connected accounts (see Meta on Hermoso and Instagram on Hermoso). It asks for the published replacements, such as page_media_view and post_media_view, and Instagram views rather than impressions.

When Meta rejects a batch, Hermoso falls back to one request per metric, so a single bad name becomes one row marked unavailable instead of blanking the report. Metrics Meta has called invalid are remembered for a while and not asked for again, and only that specific complaint is remembered: a permission error, a throttle or an outage never hides a working metric. The memory is kept per API host, because Facebook Login and Instagram Login answer differently for some metrics. Rows come back in the order you asked for. A metric Meta does not keep for that kind of post says so in words, and Story numbers below Meta's five-viewer floor are reported as unknown, never as zero.

Related

Every platform error we have documented is on the error reference. For app reviews and access levels, see how to get API access.

Sources

Frequently asked questions

Why does one bad metric fail my whole insights request?

Meta validates the metric list as a whole and rejects the entire request if any single name is invalid for the object or period.

What replaced page_impressions?

page_media_view, per Meta's deprecated metrics page. post_impressions became post_media_view.

Does using an older Graph API version bring retired metrics back?

No. Meta deprecated these metrics for all API versions at once.

What replaced Instagram impressions?

views. Instagram impressions is deprecated, and views is the successor metric.

Skip the error hunting: connect your accounts to Hermoso free, no card.

Start free →   See pricing