Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

DataStore Error?

Asked by 8 years ago

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

Log in to vote
0
Answered by 8 years ago

Is it possible you're going over the :GetAsync() limit? Check http://wiki.roblox.com/index.php?title=Data_store#Limitations to see if you exceeded those limitations.

Ad
Log in to vote
0
Answered by 8 years ago

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.

Answer this question