Journey stage: analytics
Severity: high
Prod URL: https://aries.sugarandleather.com/dashboard/results
Summary: A first-time user who has connected Meta (Facebook + Instagram) and has published/ready content sees no analytics anywhere in Aries. The Results page only ever renders an empty-state, and every /api/insights/* endpoint returns empty data — so the golden-journey "Analytics" gate cannot pass. Meta analytics are never ingested.
Steps to reproduce:
- Sign in (tenant 15, Meta + Instagram show Connected at
/dashboard/settings/channel-integrations).
- Navigate to Results (
/dashboard/results).
- Observe the page; then inspect
/api/insights/summary, /api/insights/posts, /api/insights/account-metrics.
Expected: Post-level and account-level insights (impressions/reach/views, likes, engagement, followers) for the connected Meta/Instagram account, with a "last updated" sync timestamp.
Actual: Results renders only the empty-state — "Results appear here after social content runs and real performance data is available." / "Results will appear after posts run." No metrics ever appear. Backing APIs all return empty despite a live Meta connection:
GET /api/insights/summary → 200 {"totalViews":0,"currentFollowers":0,"totalLikes":0,"totalComments":0,"totalShares":0,"totalEngagement":0}
GET /api/insights/posts → 200 {"posts":[],"count":0}
GET /api/insights/account-metrics → 200 {"series":[]}
Root cause (from code map): (1) the Meta/Instagram insights sync adapters are unimplemented stubs ("Phase 4+"); only YouTube has a working adapter, so Meta sync records status=failed ("No insights adapter registered for platform"); (2) the direct-Meta connection has no insights scopes (read_insights / instagram_manage_insights) so the Graph insights calls would be rejected even if an adapter existed; (3) no regression even reaches the UI because there is real data to show.
Evidence:
- screenshots:
.qa-loop/evidence/pass1/analytics/results-*.png (empty-state only)
- network: all
/api/insights/* return 200 with empty bodies (captured above)
- Meta connection confirmed live:
/api/integrations → facebook connected (account "Sugar and Leather AI", id 1002997576221948), instagram connected
Related merged PRs: #561 (insights endpoints shipped without a consuming frontend / Meta adapter)
Suggested area: backend/insights/sync (Meta/IG adapters) + Meta scope grant + App Review (read_insights,instagram_manage_insights) + frontend Results wiring
Journey stage: analytics
Severity: high
Prod URL: https://aries.sugarandleather.com/dashboard/results
Summary: A first-time user who has connected Meta (Facebook + Instagram) and has published/ready content sees no analytics anywhere in Aries. The Results page only ever renders an empty-state, and every
/api/insights/*endpoint returns empty data — so the golden-journey "Analytics" gate cannot pass. Meta analytics are never ingested.Steps to reproduce:
/dashboard/settings/channel-integrations)./dashboard/results)./api/insights/summary,/api/insights/posts,/api/insights/account-metrics.Expected: Post-level and account-level insights (impressions/reach/views, likes, engagement, followers) for the connected Meta/Instagram account, with a "last updated" sync timestamp.
Actual: Results renders only the empty-state — "Results appear here after social content runs and real performance data is available." / "Results will appear after posts run." No metrics ever appear. Backing APIs all return empty despite a live Meta connection:
GET /api/insights/summary→200 {"totalViews":0,"currentFollowers":0,"totalLikes":0,"totalComments":0,"totalShares":0,"totalEngagement":0}GET /api/insights/posts→200 {"posts":[],"count":0}GET /api/insights/account-metrics→200 {"series":[]}Root cause (from code map): (1) the Meta/Instagram insights sync adapters are unimplemented stubs ("Phase 4+"); only YouTube has a working adapter, so Meta sync records
status=failed("No insights adapter registered for platform"); (2) the direct-Meta connection has no insights scopes (read_insights/instagram_manage_insights) so the Graph insights calls would be rejected even if an adapter existed; (3) no regression even reaches the UI because there is real data to show.Evidence:
.qa-loop/evidence/pass1/analytics/results-*.png(empty-state only)/api/insights/*return 200 with empty bodies (captured above)/api/integrations→ facebookconnected(account "Sugar and Leather AI", id 1002997576221948), instagramconnectedRelated merged PRs: #561 (insights endpoints shipped without a consuming frontend / Meta adapter)
Suggested area: backend/insights/sync (Meta/IG adapters) + Meta scope grant + App Review (
read_insights,instagram_manage_insights) + frontend Results wiring