"AnalyticsService: You have sent too many events." error on studio playtest start

If you send more than one AnalyticsEvent immediately after the player joins, studio emits the following error:
image

This is the code:

local AnalyticsService = game:GetService("AnalyticsService")
local Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(player)
	print(player)
	AnalyticsService:LogCustomEvent(player, "Joined")
	AnalyticsService:LogCustomEvent(player, "ERROR")
	-- Calling more times will give more errors:
	--AnalyticsService:LogCustomEvent(player, "ERROR")
	--AnalyticsService:LogCustomEvent(player, "ERROR")
end)

Here’s a baseplate file that replicates the issue:
analytics_service_error.rbxl (53.9 KB)

I think this happens with any event type.
This doesn’t seem to affect published games from what I can tell.

2 Likes

Bump, experiencing the same. Seems like it may also occur if you try and send only 1 event too quickly as well.