Rule reference

Metrics payload is empty

artf.mutation.metrics_emptyerrorARTF mutation set

ADD_METRICS proposes no metrics, so the mutation adds nothing to the impression.

What it means

The metrics payload is present but carries no Metric entries.

Why it matters

As with an empty id list, this is a no-op that still occupies an evaluation slot, and it conceals the more interesting fact that the agent had no measurement to contribute.

How to fix it

Skip the mutation when there is nothing to add.

Example that trips it

{ "intent": "ADD_METRICS", "op": "OPERATION_ADD", "path": "/imp/imp-1", "metrics": { "metric": [] } }

Check your payload

Paste a bid request or response into the tester to see whether this code fires against it, or gate on the id in CI with the CLI: the id is stable, wording is not.

Back to the full diagnostic code reference.