Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

DataStore Error?

In my datastore script theres an error using GetAsnyc() called ProvisionedThroughputExceededException that fails to load or get the data and im not sure why.

2 answers

Roblox

It's an error on Roblox's side normally, and they never bother to fix the issue. Normally if you go over the limit, your requests will instead get throttled. What you can do to get around this is try pcalling it and repeating stuff until it doesn't error out

local val
repeat
  local succ, err = pcall(DataStore.GetAsync, DataStore, Key);
  val = err;
until succ or (wait(0.6) and false)
print(val)

That may or may not work. Excuse my hacky yielding.

This discussion is preserved as it was. New answers, comments, and votes are closed.