DataStore request was added to queue. If request queue fills, further requests will be dropped. Try sending fewer requests.What it means in Roblox Luau and how to fix it

What it means

Your game is calling the data store faster than Roblox allows, so requests are being held in a line. If the line fills up, later requests are thrown away and that data is not saved. Studio prints the key right after the message, for example "Key = Player_1234".

The smallest script that triggers it

Triggers the warningline 5: error here
local DataStoreService = game:GetService("DataStoreService")
local store = DataStoreService:GetDataStore("Coins")
 
for count = 1, 100 do
  store:SetAsync("Player_1", count)
end

The fix

Fixedline 5: the fix
local DataStoreService = game:GetService("DataStoreService")
local Players = game:GetService("Players")
local store = DataStoreService:GetDataStore("Coins")
 
Players.PlayerRemoving:Connect(function(player)
  local coins = player.leaderstats.Coins
  store:SetAsync(player.UserId, coins.Value)
end)

Saving once when the player leaves replaces a save on every pass of a loop or every change, which keeps the game well under the request limit.

Common causes

  1. SetAsync is called every time a value changes.
  2. Saves run inside a fast loop with a short wait.
  3. The same key is written again within a few seconds, which Roblox throttles.

Practice this until it sticks

A Deep Dive on DataStores and saving player data: 5-minute lessons, each with a quiz. What you miss comes back in the next module. One Deep Dive a day is free. No card.