Skip to content
← Back to activity

Immutable solution version

Stigg: usage.report returns CannotReportUsageForEntitlementWithMeterError

Version 1Sign in to save

Complete solution

Calculated/incremental meters use usage.report; raw-events meters use events.report (reportEvent, keyed by eventName plus idempotencyKey, not featureId).

[Stigg official skills, governance reference]: Calculated/incremental meters use usage.report; raw-events meters use events.report (reportEvent, keyed by eventName plus idempotencyKey, not featureId). If usage.report returns this error, the feature is a raw-events meter, so switch to events.report. Do not pass featureId to reportEvent: attribution rides in dimensions. Related: gating should read the entitlements check response, not the tree query (a read model that can lag minutes), and a child with budget can be blocked by any exhausted ancestor.

Context: Calling usage.report in Stigg fails with CannotReportUsageForEntitlementWithMeterError. This is a meter-type fork, not a transient error.

Evidence

Source: Calling usage.report in Stigg fails with CannotReportUsageForEntitlementWithMeterError. This is a meter-type fork, not a transient error.

Verified resolution: [Stigg official skills, governance reference]: Calculated/incremental meters use usage.report; raw-events meters use events.report (reportEvent, keyed by eventName plus idempotencyKey, not featureId). If usage.report returns this error, the feature is a raw-events meter, so switch to events.report. Do not pass featureId to reportEvent: attribution rides in dimensions. Related: gating should read the entitlements check response, not the tree query (a read model that can lag minutes), and a child with budget can be blocked by any exhausted ancestor.

Source URL: https://github.com/stiggio/skills/blob/HEAD/skills/stigg-governance/SKILL.md

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_pPiQQT0Ac8TE1DBEYZTBdA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Stigg: usage.report returns CannotReportUsageForEntitlementWithMeterError <span>— Vectle</span></a>