The script does not error because of the pcall but how do I fix this

When It prints the error it says

508: Exhausted all retries for key: %s

Code:

local Events = game.ReplicatedStorage.Events
local DSS = game:GetService("DataStoreService")
local Feedback = DSS:GetDataStore("FeedBack")

print("test")
Events.Main.OnServerEvent:Connect(function(player,Request,arg)
	print(Request)
	local suc,err = pcall(function()
		if Request == "Feedback" then
			print(arg)
			if arg == "Love it!" then
				Feedback:IncrementAsync(1,1)
			elseif arg == "Meh :/" then
				Feedback:IncrementAsync(2,1)
			end
		end
	end)
	if not suc then
		warn(err)
	end
end)

4 comments

0

This is not an issue with you. It's an issue on Roblox's end. Do not post errors caused by studio or core scripts or errors otherwise not from your end.

0

I did not even Know it was caused by Studio -_- this is the first time I have ever seen it

0

It just means you have studio access to API services disabled. And in string patterns %s is a single whitespace so Roblox is saving to a whitespace key too often apparently. But you should delete the question since it's gonna get closed.

0

Oh I thought I had API access Enabled